Okay
  Public Ticket #276743
Customise main navigation CSS
Closed

Comments

  • Callum started the conversation

    Hi, 

    I want to change the look and padding of the main navigation.  I've tried to do this by adding some custom css to the stylesheet but for some reason it's not working.  Don't know if this makes a difference but just for info I am using my own child theme with salient.  

    Here's my code:

    header#top nav > ul > li > a {

    border-left: 1px solid #e7e7e7 !important;

    padding-left: 35px !important;

    padding-right:35px !important;

    }

    I'm not sure if this is the right thing to target but seems to be working ok in firebug just not in wordpress.  Can you help?

  • Callum replied

    Sorry I've figured it out.

    For anyone who's interested, instead of going to Appearance>Editor>style.css to make edits, go to Salient>General Settings and scroll down to the bottom of the page where you'll find a css style override box.  Once I put my styles in there everything started working as expected.