December 29, 2015 at 10:01 pm #175144
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?
Amelia FranzDecember 30, 2015 at 4:57 am #175162Brad DaltonParticipant
Please paste your code in pastebin and link to it from here.
December 30, 2015 at 5:35 am #175165
Sure, Brad. Here's the link from Pastebin, to the html I entered in the Simple Hooks plugin:
Here's the css, which isn't working--although the image shows up just fine.
background-color: #009298 !important;
font-family: 'Garamond', serif;
color: #fff !important;
Thanks for looking into this!
--AmeliaDecember 30, 2015 at 5:45 am #175167Brad DaltonParticipant
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
December 30, 2015 at 6:28 am #175178
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.
--AmeliaDecember 31, 2015 at 9:22 am #175278Victor FontModerator
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.
December 31, 2015 at 10:02 am #175280
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.
- The topic ‘Simple Hooks CSS not working in Enterprise Pro’ is closed to new replies.