• 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

[Delicious] weird Home-Bottom boxes topmargin ??

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 › [Delicious] weird Home-Bottom boxes topmargin ??

This topic is: not resolved

Tagged: Delicious, h2, h4, home bottom

  • This topic has 9 replies, 2 voices, and was last updated 10 years, 2 months ago by Boblebad.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • November 28, 2012 at 2:37 pm #2113
    Boblebad
    Participant

    Hi

    I'm trying to tweak the Delicious theme in a way that fits my project, and are having problems with something that looks like a margin or padding issue, but when using Firebug, i does not show up as either one ??

    I want the padding to be the same on all four sides, but i can't get the top to fit-in, what's giving the extra 15px at the top ??

    http://www.fredidalen.dk

    November 28, 2012 at 5:05 pm #2166
    SoZo
    Member

    That is coming from the top margin being applied to the h2 heading. Browsers apply their own defaults unless you declare a rule to override them. E.g. in Chrome a margin of .83 em is applied.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    November 29, 2012 at 3:15 am #2236
    Boblebad
    Participant

    Thanks for your answer SoZo

    So what you're saying is that i need to take control of h2 to get rid of the space above the title text ??

    Is there a site where all these differences to be aware of, from browser to browser, is listed ??

     

    November 29, 2012 at 4:48 am #2240
    Boblebad
    Participant

    And also, what if i want to change the h2 to h4, can't seam to figure out where to do this ??

    And only for the Home-Bottom boxes, i can see that the h2 i used all over the site, so a class for the bottom boxes is needed or ??

    November 29, 2012 at 8:58 am #2269
    SoZo
    Member

    You can't change the heading tags. You can add a rule to target those particular h2 tags however.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    November 29, 2012 at 10:01 am #2294
    Boblebad
    Participant

    And how do i do that the correct way ??

    November 29, 2012 at 10:05 am #2300
    SoZo
    Member

    Do you mean how do you add a new style rule? If so you need to read up on CSS specificity.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    November 29, 2012 at 12:29 pm #2352
    Boblebad
    Participant

    I'm not that much into CSS yet, and are not sure where exactly to do this, everything i do to the Home-Bottom section, have an effect on the background instead of the title ..

    November 29, 2012 at 2:18 pm #2375
    SoZo
    Member

    Are you using h2 in your selector, i.e. .home-bottom h2


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    November 30, 2012 at 8:49 am #2502
    Boblebad
    Participant

    Not if it isn't default, i think i tried something like it, but it didn't turn out as expected ..

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