Center Navigation Links in Magazine Basic theme (5 posts)

  1. sfowler2
    Posted 2 years ago #


    I'm not too familiar with PHP and I've been tinkering with customizing my website. Does anyone know how to center the top sub navigation links on the magazine basic theme? I can't seem to figure it out. This is my website if you want to take a look: http://www.icstillwater.com

    Thanks a million!

  2. batharoy
    Posted 2 years ago #

    You can do it with CSS.

    #site-sub-navigation {
    text-align: center;

    If your theme has a place for custom css us that, if not create a child theme or install a custom css plugin.

  3. sfowler2
    Posted 2 years ago #

    Hi thanks for your response! I tried adding a text-align center to the style.css form in the editor but it did not work. this is my code:
    #site-sub-navigation {
    position: relative;
    z-index: 500;
    font-size: 13px;
    display: block;
    background: #444;
    clear: both;
    font-family: 'Cantata One', serif;
    font-weight: 400;

  4. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    Install this Custom CSS Manager plugin http://wordpress.org/plugins/custom-css-manager-plugin

    Then use its "CSS Code" section of the dashboard to hold your CSS modifications.

  5. sfowler2
    Posted 2 years ago #

    Ah thanks so much! Your first suggestion actually worked, I think I just had to restart my browser or something.

Topic Closed

This topic has been closed to new replies.

About this Topic