-
AuthorPosts
-
August 26th, 2013 at 16:15 #11626Harry
Hello !
First of all, english is not my native language, and i’m not really good to speak it. I hope it will be understandable (if this is not the case, fell free to correct me ^^).
Parabola is really a great free theme ! Thank you very much ! You did a good job 🙂I tried to custom the first posts on my homepage, to display them like I did on this picture:
But i’m not really good in css. It actually looks like this :
This is not so far of my goal, but I am stuck.
here’s my current code:article.post:first-child { min-height: 350px; max-height: 350px; min-width: 620px; max-width: 620px; background-color: #5F5F5F; border: none; margin-bottom: 40px; } article.post:nth-child(2) { float: left; min-height: 170px; max-height: 170px; min-width: 300px; max-width: 300px; background-color: #3d3831; } article.post:nth-child(3) { float: right; min-height: 170px; max-height: 170px; min-width: 300px; max-width: 300px; background-color: #3d3831; margin-bottom: 80px; } article.post:nth-child(1n+1) .entry-title a { font-size: 25px; position: absolute; display: block; min-width: 300px; max-width: 300px; min-height: 29px; max-height: 29px; margin-top: 140px; color: #FFFFFF; background-color: rgba(0,0,0,0.6); margin-right: 30px; padding-bottom: 10px; z-index: 10; } article.post:first-child .entry-title a { font-size: 34px; position: absolute; display: block; min-width: 600px; max-width: 600px; min-height: 40px; max-height: 40px; background-color: rgba(0,0,0,0.6); margin-top: 300px; padding-left: 20px; color: #FFFFFF; z-index: 10; }
(Yes, it’s pretty messy ^^’)
I would like to put the title of the post in a block, “connected” below the picture like a legend, with the same width.
Thank you in advance for your help.
August 26th, 2013 at 16:19 #11627HarryHere’s a more readable code. ^^
-
AuthorPosts
The topic ‘3 first posts customization’ is closed to new replies.