• Page 1 of 1
  • 1
Add background to post title?
Ookami
Posts: 31
Reputation: 0

Message # 1 | 12:59 PM
I'm wondering how i could add a background and border to the title of my posts, the news module if that helps

i have messed with the part of the code, but that just changes the whole post section rather then just the title...

Code
/* Entries Style */
.eBlock {border-top:1px solid #0000cc;border-bottom:1px solid #0000cc;background:url('http://i51.tinypic.com/33lnyth.gif') repeat-y #000000;}
.eTitle {font-family:Verdana,Arial,Sans-Serif;font-size:11pt;font-weight:normal;color:#ffffff; padding: 15px 15px 15px 75px;}
.eTitle a:link {text-decoration:underline; color:#0000cc;}
.eTitle a:visited {text-decoration:underline; color:#0000cc;}
.eTitle a:hover {text-decoration:none; color:#ffffff;}
.eTitle a:active {text-decoration:underline; color:#0000cc;}
Animorph
Posts: 2856
Reputation: 189

Message # 2 | 2:19 PM
just edit your eTitle in CSS

add background and border to get results

Code
.eTitle {font-family:Verdana,Arial,Sans-Serif;font-size:11pt;font-weight:normal;color:#ffffff; padding: 15px 15px 15px 75px;}

add background

Code
background:#656565;

-#656565 change that to your colour

add border

Code
border:1px solid #FFFFFF;

-#ffffff change that to you colour

Result:

Code
.eTitle {background:#656565;font-family:Verdana,Arial,Sans-Serif;font-size:11pt;font-weight:normal;color:#ffffff; border:1px solid #FFFFFF;padding: 15px 15px 15px 75px;}

Best regards

To busy building a passive income online ;)
Ookami
Posts: 31
Reputation: 0

Message # 3 | 8:32 AM
this the second time you have solved my problem ty more rep + ty ily no homo XD
  • Page 1 of 1
  • 1
Search: