Tagged: classes, CSS, mouse-over, span
-
AuthorPosts
-
March 6, 2018 at 8:20 pm #922483
First thanks for such an amazing theme and amazing support! I am having issues with something I feel shouldnt be so hard but all the CSS I try is not working.
Currently all the links on the site are red and go to black when you hover. I have a page where I am using a popup function that made me add <span class> into each link with the pop up ID’s – Currently when you view this following page you will see the links are red and do not go black on mouseover – is there some quick css to make these links change to black? Or to set the <span class> to change?
(link added to private content)
code:
- <span class=”popmake-1000″ style=”color: #ff0000;”>Plastic Refractories</span>
Thanks again!
March 7, 2018 at 7:21 am #922768Hey Kacey,
Please try the following in Quick CSS under Enfold->General Styling:
span.popmake-1000:hover { color:#000 !important; }Best regards,
RikardMarch 8, 2018 at 4:06 pm #923932Hello.
Thanks for you the reply and your time to help on this! I have added in the new CSS and it has worked for the link – just what i was looking for thanks!
So then I would have to add in a span.popmake-{ID}:hover for each link i have?
March 9, 2018 at 6:57 am #924280Hi,
I couldn’t load your site just now, but if they all have separate id’s then I think so yes. Unless you can target an element above them in the DOM tree? For instance:
.element-above-your-spans span { color:#000 !important; }Best regards,
RikardMarch 27, 2018 at 8:23 pm #933858This reply has been marked as private.March 27, 2018 at 8:28 pm #933860Nevermind I found on a different topic the answer. I added the following to my functions which fixed the issue:
add_theme_support(‘avia_no_session_support’);
Sorry to bother! Thanks again for your great support!
March 27, 2018 at 8:45 pm #933869Hi,
I’m glad you got this worked out. If you need additional help, please let us know here in the forums.Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘quick css for changing the font color on mouseover of a’ is closed to new replies.
