WordPress.org

Ready to get started?Download WordPress

Forums

Virtue
[resolved] [closed] Centering Secondary Navigation menu (6 posts)

  1. dreamstone
    Member
    Posted 10 months ago #

    How can I center Secondary Navigation menu?

  2. Andrew
    Forum Moderator
    Posted 10 months ago #

    Could you link a page where this secondary navigation exists?

  3. Kadence Themes
    Member
    Theme Author

    Posted 10 months ago #

    Try adding this to your custom css box in the theme options:

    #nav-second ul.sf-menu>li {
    float: none;
    display: inline-block;
    }
    #nav-second ul.sf-menu {
    text-align: center;
    float: none;
    }

    Kadence Themes

  4. dreamstone
    Member
    Posted 10 months ago #

    It works!
    Thank you, Theme Author!

    Here was my link, Andrew http://image.leogunband.ru/

  5. Fiffi
    Member
    Posted 3 months ago #

    Hi, I tried to use the same code as above to centre my menu when using the virtue theme, but I donĀ“t get it to work. I just get an error message.
    I open the php-file 'custom-css.php' and add it here - is it the correct file and where should I put the code?

    Thank you!

  6. esmi
    Forum Moderator
    Posted 3 months ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 7 month old, resolved, topic.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.