This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: ,

Main menu padding for buttons, fitting more menu items

  • Creator
    Topic
  • #11807
    vegasrenie
    Participant

    I created a new primary menu, but I have one item that goes to a second line. Is there any way to reduce the padding on the menu so that all of my items display on just one line?

    My site is currently in development mode so nothing can be seen by anyone not logged in.

    Thanks for any info.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #11826
    Jason Bobich
    Keymaster

    Hello,

    For CSS changes, it’s a good idea to use a tool like firebug or Google Chrome’s built-in developer tools to locate them and then put the edits either in your child theme or in the “Custom CSS” option on your theme options page.

    So, for example, you could start with something like this:

    #access li a {
        padding: 0 22px;
    }
    #access li a.sf-with-ul {
        padding-right: 37px;
    }

    Also, here’s a helpful tutorial on how to use Firebug – http://vimeo.com/20917974. The only thing I’d suggest not doing is actually making edits to the theme’s CSS files, as it shows at the end of that video. However, the video serves as a good introduction to Firebug and how it can be used to find what CSS is effecting certain areas of your site without ever digging around in any files.

    #11888
    vegasrenie
    Participant

    Yay! This worked! Along with the post on how to reduce the size of the margins in the header, this has the top of my redesign looking exactly the way I wanted.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Swagger Responsive WordPress Theme’ is closed to new topics and replies.