Archived

This topic is now archived and is closed to further replies.

  • 0

Add underline to branding div


Question

Posted · Report post

Hi, I;d like to add a simple underline to the branding div that runs across the top but am getting very frustrated trying CSS that may or may not be right.  Have just tried this but now joy.

 

 

.branding_wrap fix
{
border-style:solid;
border-bottom:1px solid #ffffff;
}

 

....please can someone help.

 

Thanks

 

J

 

 

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Great, nice job! :D

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

The code you have isn't correct, you should try without the border-style: solid, as you have already declared it with border: 1px solid white;

 

See my image - http://cl.ly/image/2E261P3f2d1C

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Danny, although I've just changed it to the below and it still doesn't work.....??

 

 

.branding_wrap fix
{
border-bottom:1px solid #fff;
}

Share this post


Link to post
Share on other sites

Posted · Report post

Try using a PageLines override #page at the beginning of your code, if that doesn't work, then you may want to target the branding .content div instead.

Share this post


Link to post
Share on other sites

Posted · Report post

Got it working with this.....

 

 

.section-branding .mainlogo-link, {
  border-bottom:1px solid #fff;
}

Share this post


Link to post
Share on other sites