Jump to content


Photo
- - - - -

Add underline to branding div

branding underline

Best Answer Danny , 24 April 2013 - 11:40 AM

Great, nice job! :D

Go to the full post


This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1 freshlydesigned†

freshlydesigned

    Super Member

  • DMS Subscriber†
  • 138 posts

Posted 24 April 2013 - 10:48 AM

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

 

 



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 19504 posts

Posted 24 April 2013 - 11:01 AM

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 -

Please Login or Register to see this Hidden Content



#3 freshlydesigned†

freshlydesigned

    Super Member

  • DMS Subscriber†
  • 138 posts

Posted 24 April 2013 - 11:27 AM

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;
}


#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 19504 posts

Posted 24 April 2013 - 11:39 AM

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.



#5 freshlydesigned†

freshlydesigned

    Super Member

  • DMS Subscriber†
  • 138 posts

Posted 24 April 2013 - 11:40 AM

Got it working with this.....

 

 

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


#6 Danny

Danny

    Is Awesome!

  • Moderators
  • 19504 posts

Posted 24 April 2013 - 11:40 AM   Best Answer

Great, nice job! :D