• 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

Need help with using Genesis Simple Hooks–code works but also appears on screen

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 › Need help with using Genesis Simple Hooks–code works but also appears on screen

This topic is: not resolved

Tagged: Genesis Simple Hooks, hooks

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 7 months ago by Yumei.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 7, 2019 at 9:45 am #225448
    Yumei
    Participant

    I am new to Genesis and trying to learn how things work, including how to use Genesis Simple Hooks plugin. So I tried to create a small gap (margin) between a full-width header image and a header_right menu. I put in the code:

    .genesis_header_right {
         margin-top: 10px;}

    And it worked. But the code itself also showed up on the screen. So the code must be wrong/incomplete. How do I fix it?

    http://yumeil.sgedu.site/wolflake/
    January 7, 2019 at 11:02 am #225449
    Victor Font
    Moderator

    Inline CSS such as what you're trying to use still needs to wrapped in script tags.

    Also, custom CSS should go in the header or footer script areas.


    Regards,

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

    January 7, 2019 at 1:45 pm #225451
    Yumei
    Participant

    Ahh! I get it--though I need to google each of the things you pointed out 🙂 Obviously I have a lot to learn. Thanks!

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

© 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