Viewing 7 replies - 1 through 7 (of 7 total)
  • What theme are you using? Where did you download it from?

    Thread Starter dennisroliff

    (@dennisroliff)

    I am using a theme called Website. I don’t know where it was downloaded from because I have taken this project over from someone else.

    Thanks.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Display the <ul> inline-block and then add ‘text-align: center‘ to the parent of that <ul>.

    Thread Starter dennisroliff

    (@dennisroliff)

    volunteer moderator (i didn’t know how to type the ‘boxes’ for your name, ha ha,

    here are the nav tag and ul tag that enclose the list items. are you saying to display the

      as inline-block and add ‘text-align: center;’ to the <nav> ? <nav id="nav-top" class="left clear"><ul id="nav-top-desktop" class="hide-lte-mobile">

    Thanks.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I don’t know how to implement CSS in your theme, but you need to add:

    #nav-main {
     text-align: center;
    }
    
    #nav-main-desktop {
     display: inline-block;
    }

    Thread Starter dennisroliff

    (@dennisroliff)

    Thanks. I’ll see if I can figure that out.

    Thread Starter dennisroliff

    (@dennisroliff)

    volunteer moderator,

    Yes! That did it! Thanks so much.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘centering main nav menu’ is closed to new replies.