• 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

Simple Hooks CSS not working in Enterprise Pro

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 › Simple Hooks CSS not working in Enterprise Pro

This topic is: resolved

Tagged: Enterprise Pro, Simple Hooks

  • This topic has 6 replies, 3 voices, and was last updated 10 years, 2 months ago by ameliafranz.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 29, 2015 at 10:01 pm #175144
    ameliafranz
    Member

    I've added html (and a div class) to one of the Simple Hooks plugin areas, but the CSS isn't working. The images and text do show up, but I can't style it. It works fine in my "Agency Pro" theme, but not in Enterprise. I added the identical CSS to the "genesis_after_content_sidebar_wrap" to make sure it's the theme and not a problem with any syntax. It shows up in Agency Pro, (in a different hook area) but not in Enterpise. Any ideas?

    Thanks!
    Amelia Franz

    http://mydevfranz.com
    December 30, 2015 at 4:57 am #175162
    Brad Dalton
    Participant

    Please paste your code in pastebin and link to it from here.


    Tutorials for StudioPress Themes.

    December 30, 2015 at 5:35 am #175165
    ameliafranz
    Member

    Sure, Brad. Here's the link from Pastebin, to the html I entered in the Simple Hooks plugin:

    http://pastebin.com/DMEN3cf0

    Here's the css, which isn't working--although the image shows up just fine.

    #cta {
    background-color: #009298 !important;
    padding-top: 20px;
    padding-bottom: 30px;
    font-family: 'Garamond', serif;
    font-size: 18px;
    color: #fff !important;
    text-align: center;
    line-height: .5em;
    }

    Thanks for looking into this!
    --Amelia

    December 30, 2015 at 5:45 am #175167
    Brad Dalton
    Participant

    Try removing 1 of the closing a tags as i don't think you need 2.

    You could also hook in a new widget area rather than use simple hooks

    http://wpsites.net/web-design/adding-new-widget-areas-in-studiopress-themes/


    Tutorials for StudioPress Themes.

    December 30, 2015 at 6:28 am #175178
    ameliafranz
    Member

    I don't think the closing tags are the problem, because the identical code works fine in my site that's using Agency. I did remove one of the closing tags just to be sure, but it didn't make any difference. The html part (images and text) show up. I just can't style them. I inspected with Chrome Developer tools, and I couldn't find the assigned class when I inspected it, as if the class wasn't being registered, somehow. Maybe I will contact support to see if they can do anything, before I go through the trouble of creating a new widget area. It's a good idea, just was hoping to do it this way because it's quicker.

    At any rate, thanks for your time, and for the link.

    Best,
    --Amelia

    December 31, 2015 at 9:22 am #175278
    Victor Font
    Moderator

    I don't see the code you added on your site. I do see quite a few syntax errors however. You frequently use style="text-align: right";>. The semi-colon needs to be inside the closing quote, not outside of it.


    Regards,

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

    December 31, 2015 at 10:02 am #175280
    ameliafranz
    Member

    HI Victor,

    I removed the specific code that I was asking about from my site. I did discover, however, that I can style it using inline css styles--just not in the main style sheet. So if I need to use it again, I will just use the inline styling. As far as syntax errors, yes, the site is still very much a work in progress. Will be proofread thoroughly for syntax errors and things that aren't working as part of the normal workflow. Thank you for your help.

    --Amelia

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Simple Hooks CSS not working in Enterprise Pro’ 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