• 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

Site Title and Nav Menu formatting

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 › Site Title and Nav Menu formatting

This topic is: not resolved

Tagged: css, formatting, navigation menu, parallax-pro, site title

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 5 months ago by ollie.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 17, 2014 at 10:45 am #134758
    ollie
    Member

    Hi all,

    I'm hoping to get my site title to match my nav menu in terms of text size and alignment/positioning but it's proving tricky. I'm using Parallax Pro which makes the site title slightly larger by default, I can reduce the size in the stylesheet but haven't been able to figure out how to match the alignment of the nav menu (when I reduce the title size, the alignment is off).

    .site-title {
    	font-family: Montserrat, sans-serif;
    	font-size: 16px;
    	font-weight: 400;
    	letter-spacing: 1px;
    	line-height: 1;
    	margin-bottom: 0;
    	text-transform: uppercase;
    .genesis-nav-menu {
    	clear: both;
    	color: #7a7a7a;
    	font-family: Montserrat, sans-serif;
    	font-size: 16px;
    	font-weight: 400;
    	letter-spacing: 1px;
    	line-height: 1;
    	width: 100%;
    }
    
    .genesis-nav-menu .menu-item {
    	display: inline-block;
    	text-align: left;
    }
    
    .genesis-nav-menu li li {
    	margin-left: 0;
    }
    
    .genesis-nav-menu a {
    	color: #7a7a7a;
    	display: block;
    	font-family: Montserrat, sans-serif;
    	padding: 27px 20px;
    }
    December 18, 2014 at 7:24 am #134799
    ollie
    Member

    Update: The inconsistent text position seems to be due to the presence of this weird gap beneath the site title...

    ...and even when I make the title area div 70px high to match the nav menu, the text still aligns itself differently...

    Any suggestions very much appreciated! I'm baffled.

    December 18, 2014 at 1:34 pm #134828
    WisdmLabs
    Member

    Hi,
    Change the font-size of .site-title from 30px to16px to match the font-size of navigation items.

    The gap which you can see is padding of the title-area. So, change the padding-top and padding-bottom of the .title-area from 20px to27px.

    To summarize, CSS should be as below:

    .title-area {
         padding: 27px 0;
    }
    .site-title {
         font-size: 16px;
    }

    http://wisdmlabs.com/

    December 19, 2014 at 2:19 am #134875
    ollie
    Member

    Ha, as simple as that! Thanks so much for your help, it's very much appreciated.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 2023 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