• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Metro Theme Navi HTML5

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Metro Theme Navi HTML5

This topic is: not resolved

Tagged: html5, navigation, Secondary Navigation

  • This topic has 10 replies, 2 voices, and was last updated 11 years, 10 months ago by Brad Dalton.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • August 25, 2013 at 9:45 pm #58823
    Brain916
    Member

    Hello,
    I just converted my website (test.sneakerfiles.com) to HTML5. I am happy that everything went decently well, but I am having one heck of a time getting the Navigation aligned correctly and the secondary navigation doesn't have the correct colors either.

    If you visit the URL above, you can see how it is off and below I have a screen shot how it was before and would like it to go back to

    Image and video hosting by TinyPic

    http://test.sneakerfiles.com/
    August 25, 2013 at 10:06 pm #58825
    Brad Dalton
    Participant

    Please delete this PHP code from the end of your child themes style.css file:

    /** Custom image sizes */
    add_image_size( 'Slideshow', 520, 280, TRUE );
    add_image_size( 'Small Thumbnail', 70, 70, TRUE );
    

    Have you made any changes to the CSS code in the file?


    Tutorials for StudioPress Themes.

    August 25, 2013 at 10:27 pm #58829
    Brain916
    Member

    Hello @braddalton

    I just removed that code and nothing has changed.

    I have made a lot of changes to the css. I can upload it somewhere...what can I do to fix this?

    August 25, 2013 at 10:53 pm #58830
    Brad Dalton
    Participant

    I suggest you compare it to the original file using an online tool and place all the modified code at the end of the file for easier management.

    There must be a problem with the code which why it may be better to replace it with a fresh copy. Backup the file locally first.

    You can then add one rule at a time back to the end of the file to find out which code is causing the problems.

    Always copy the rule the want to modify to the end of the file before modifying the code.


    Tutorials for StudioPress Themes.

    August 25, 2013 at 11:07 pm #58831
    Brain916
    Member

    Hey @braddalton

    I actually installed a fresh copy of the Metro theme (just picked the Blue color) for the site and it still is the same. As you can see, the header is large, search bar is also.

    August 26, 2013 at 1:17 am #58837
    Brain916
    Member

    Ok, I found the problem. Search bar is too large and is pushing the navibar making it too large. Is there a way to make the search bar smaller?

    August 26, 2013 at 6:29 pm #58955
    Brad Dalton
    Participant

    You can reduce the height of the search bar or hook in the search bar using a different method.

    You're in luck because i wrote about already and tested the solution using the Metro theme.


    Tutorials for StudioPress Themes.

    August 27, 2013 at 1:50 am #59008
    Brain916
    Member

    Hey, I am kind of getting it, but what I notice is, the search bar will not align completely right. Is there something I can add in CSS to achieve that?

    Also, what code could I put in to shrink the search bar size?

    August 27, 2013 at 2:26 am #59014
    Brad Dalton
    Participant

    The CSS code included in the tutorial enables you to increase the negative margins to reduce the size.

    You may have to use the default CSS for the search box at the end of the file and change the values to work with your custom search box.


    Tutorials for StudioPress Themes.

    August 27, 2013 at 2:39 am #59015
    Brain916
    Member

    I have tried this, but I can't get it correctly. I would like a little bit of black around the search bar, basically where it is sitting nice and snug in the search bar.

    For the time being, I got it to work, but that was due to making the navigation bigger.

    Also, do you know how to make the search bar sit all the way to the right?

    August 27, 2013 at 2:45 am #59016
    Brad Dalton
    Participant

    Not sure how to move it to the far right.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble