WordPress.org

Ready to get started?Download WordPress

Forums

Pilot Fish
Center Menu (3 posts)

  1. mooneyjwp
    Member
    Posted 1 year ago #

    First off, great theme. Really enjoying it. Would like to center the nav menu and am not sure what css class to edit. Can anyone point me in the right direction along with the property to add?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Centring nav menus has been asked and answered many times before;


    Try using a browser developer tool for this kind of exploratory CSS work. You can expose↓ styles that are applying to elements in your webpage.
    I use Google Chrome's built-in Developer Tool because I find it particularly easy to use.

    Alternatively, ask general CSS forums;
    http://csscreator.com/forum
    http://www.cssforum.com.pk/
    http://css-tricks.com/forums/
    http://www.welovecss.com/
    http://www.codingforums.com/

    Now that you know the style, from being exposed by the Developer Tool/ recommended by the CSS forum, you can add↓ a new style to override it.

    You ought to add new styles externally↓, not within the theme's files. Changes to the theme's files will compromise the theme and be compromised when the theme updates.

    External changes can be made using a Child Theme or through a plugin that provides Custom CSS↓ functionality.

    I recommend using the Jetpack plugin's Custom CSS functionality to hold your CSS.

  3. mooneyjwp
    Member
    Posted 1 year ago #

    Thanks for the quick response. Appreciate the tools recommend, will digest and find a solution.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.