WordPress.org

Ready to get started?Download WordPress

Forums

Hero theme: center nav bar, text color & center log... (11 posts)

  1. vampirefish
    Member
    Posted 1 year ago #

    Hi all,
    Been using the hero theme (actually set up a child)... and I can't figure out a couple things.
    1. When I set my header logo to center, it's still not centered. Tried none and this didn't work either.
    2. How do I center the navigation bar (main menu)?
    3. How do I change the color of the main menu text?

    Thanks!

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Can you post a link to your site -- it's pretty impossible to help with CSS questions without looking at the site live.

  3. vampirefish
    Member
    Posted 1 year ago #

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    1. When I set my header logo to center, it's still not centered. Tried none and this didn't work either.

    Although this has been asked and answered many times before;

    Try using a browser developer tool for this kind of exploratory CSS work.
    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/added by the Developer Tool, 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.

  5. cmurway
    Member
    Posted 1 year ago #

    Different Question pertaining to this particular theme....it it necessary to make the child php Vampirefish?

  6. cmurway
    Member
    Posted 1 year ago #

    I originally had a similar issue with my logo on my site http://www.thefitnessclinician.com I just made sure the width was 964px.

  7. cmurway
    Member
    Posted 1 year ago #

    Hey VP I sent your FB acct a wider logo to use for your site. Let me know how it works.

    Sincerely,
    Craig

  8. vampirefish
    Member
    Posted 1 year ago #

    Thanks cmurway. The logo resize worked great! And I am using a child theme for this as I've learned this is the best way to go. I'm just struggling to find where/how to edit the nav main menu. I'll try the suggestions that Andrew Nevins gave me. Thanks!

  9. vampirefish
    Member
    Posted 1 year ago #

    cmurway...how did you get your pages to span the page? In other words, even though I'm not using my sidebars, it's as if my page width is still set to this...

  10. cmurway
    Member
    Posted 1 year ago #

    Hiya...I made a full page. I will send you what I made.

  11. cmurway
    Member
    Posted 1 year ago #

    Sent it to you. make a copy of your Page.php and copy it to that and rename it widepage. It will come up in the list of default pages.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags