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


  • Please log in to reply
5 replies to this topic

#1 freshlydesigned

freshlydesigned

    Super Member

  • Members

  • 138 posts
  • Country: Country Flag

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
  • 17966 posts
  • LocationManchester, UK
  • Country: Country Flag

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

  • Members

  • 138 posts
  • Country: Country Flag

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
  • 17966 posts
  • LocationManchester, UK
  • Country: Country Flag

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

  • Members

  • 138 posts
  • Country: Country Flag

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
  • 17966 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 24 April 2013 - 11:40 AM   Best Answer

Great, nice job! :D







Also tagged with one or more of these keywords: branding, underline