• 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

How Do I Set Margin For A Specific H4 Tag?

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 › General Discussion › How Do I Set Margin For A Specific H4 Tag?

This topic is: resolved

Tagged: h4, Margin

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 7 months ago by nutsandbolts.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 13, 2014 at 1:02 pm #90155
    anotherusername
    Participant

    How How Do I Set Margin For A Specific H4 Tag?

    The tag's code is this:

    <h4 class="widget-title widgettitle">Great Photos Put More Money In YOUR Pocket!</h4>

    It is on this page:

    http://www.marinhomephotography.com/

    In my style sheet, I tried things like this

    .widget title widgettitle h4 {

    margin: 25px;

    }

    But that didn't do anything.

    (I also tried .widget title h4 and .widgettitle h4 but that did not work, either)

    Thanks in advance.

    http://www.marinhomephotography.com/
    February 13, 2014 at 11:17 pm #90223
    nutsandbolts
    Member

    Since that's the only H4 in the home welcome widget area, look for #home-welcome h4 in your stylesheet and try adding the margin there.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    February 14, 2014 at 1:28 am #90246
    anotherusername
    Participant

    Thanks for the help, Andrea:

    It was actually in there, but when I put in the css, I typed in a comma after the different values and left off the semi colon, like this;

    #home-welcome h4 {
    
    margin: 25px, 0, 0, 0
    
    }

    Guess I was having a brain cramp (almost typed "brain crap" there... oh well... same thing I guess...)

    February 14, 2014 at 1:33 am #90247
    nutsandbolts
    Member

    Hey, no worries! I do things like that ALL the time. After I stare at something for so long, I can't see it anymore. Glad you got it taken care of. 🙂


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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