• 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

style being written into html from?

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 › style being written into html from?

This topic is: resolved

Tagged: html code css height problem

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 2 months ago by tiki16.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 30, 2016 at 10:48 am #192336
    tiki16
    Member

    Hello I have a height spacing issue with my header. There is a style being written into the html. The code looks like this:
    <div class="site-inner" style=margin-top: 123px;">
    It is the margin-top:123px which is causing the height issue. I don't know how it is being written into the code. If it is jquery it shouldn't be.
    My theme is Hello! pro.
    Any help appreciated. Steve

    http://staging.pixelstew.net/wickedtenants/
    August 30, 2016 at 11:13 am #192341
    Victor Font
    Moderator

    I have Hello Pro setup up here: http://jamestchambers.com. There is no style being written to site-inner by the theme. What plugins do you have installed?


    Regards,

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

    August 30, 2016 at 11:23 am #192344
    tiki16
    Member

    It was like that right out of the box. So i doubt it is plugin related. Also, the home-image was wrapping under home-welcom text, so I just eliminated home-image and went with a a larger version of home-welcome. My guess is that there is javasricpt embedding the class into the div.

    August 30, 2016 at 12:24 pm #192352
    Christoph
    Member

    Hi,

    it's from sticky-nav.js

      // Set margin-top on .site-inner
        function siteInnerTopMargin(){
            var navHeight = $('.site-header').outerHeight();
            $('.site-inner').css("margin-top", navHeight);
        }
        siteInnerTopMargin();

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    August 30, 2016 at 1:16 pm #192365
    tiki16
    Member

    Hi Cristoph should I edit the sticky-nav.js?
    thanks

    August 30, 2016 at 1:44 pm #192370
    tiki16
    Member

    ok perfect I commented it out and it worked. thanks

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