• 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

Increasing hamburger icon size

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 › Increasing hamburger icon size

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 7 years, 6 months ago by Geek Dom.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 26, 2018 at 1:55 pm #224006
    Geek Dom
    Member

    I want to increase the size of the hamburger icon in Monochrome Pro. I've used the code below using '!important' to achieve this, but not sure if this is the right way?

    .menu-toggle::before {
    	font-size: 30px!important;
    	font-size: 3rem!important;
    	font-weight: 600!important;
    }
    October 27, 2018 at 5:11 am #224013
    Victor Font
    Moderator

    It depends on the rest of the code. The 'C' in CSS means 'cascading'. Cascading is the priority scheme that determines which style rule applies if more than one rule matches a particular element.

    Let's say that there are multiple rules in your style sheet for the .menu-toggle::before element. These rules are entered in the style sheet at lines 100, 500, and 1000 respectively. As the browser executes the style sheet, it applies the CSS in the order in which the code is listed in the style sheet.

    In other words, it applies line 100 first, then line 500, then line 1000 last. If there is code in line 500 that overrides line 100, then line 500 has the priority. If there is code in line 1000 that overrides lines 100 and/or 500, then line 1000 has the priority.

    When you add the !important keyword to a CSS rule, you're giving that line the priority no matter where in the style sheet it appears. The !important rule is a way to have the rules you feel are most crucial always be applied.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    October 29, 2018 at 6:32 am #224035
    Geek Dom
    Member

    Thanks for the detailed explanation Victor.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Increasing hamburger icon size’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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