Community Forums › Forums › Archived Forums › Design Tips and Tricks › Simple Hooks CSS not working in Enterprise Pro
Tagged: Enterprise Pro, Simple Hooks
- This topic has 6 replies, 3 voices, and was last updated 9 years, 2 months ago by
ameliafranz.
-
AuthorPosts
-
December 29, 2015 at 10:01 pm #175144
ameliafranz
MemberI'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!
http://mydevfranz.com
Amelia FranzDecember 30, 2015 at 4:57 am #175162Brad Dalton
ParticipantDecember 30, 2015 at 5:35 am #175165ameliafranz
MemberSure, 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.
#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!
--AmeliaDecember 30, 2015 at 5:45 am #175167Brad Dalton
ParticipantTry 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/
December 30, 2015 at 6:28 am #175178ameliafranz
MemberI 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,
--AmeliaDecember 31, 2015 at 9:22 am #175278Victor Font
ModeratorI 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 #175280ameliafranz
MemberHI 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
-
AuthorPosts
- The topic ‘Simple Hooks CSS not working in Enterprise Pro’ is closed to new replies.