Tagged: x
-
AuthorPosts
-
January 17, 2017 at 11:32 pm #1334557
DilParticipantHi there,
The title of my products in the shop page is currently using white, which is the color for my h3 tags, and there, when it is pointed it becomes yellow which is my colour for my links ( not hover color ). So I’m trying to override the white to yellow and its yellow to white, over riding the h3 class and link classes. But I can’t seem to get a css to work from customizer because I can’t add ID to it and if i change it for h3, it will change it for all h3 on my site.
I tried adding page id to the class too but didn’t seem to work when i did it.
I tried using the page editor to add a body class to insert it but it didnt work.
I would appreciate some help!
January 17, 2017 at 11:32 pm #1334558
DilParticipantThis reply has been marked as private.January 18, 2017 at 1:43 am #1334658
RupokMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.woocommerce li.product .entry-header h3 a { color: hsl(51, 100%, 50%); } .woocommerce li.product .entry-header h3 a:hover { color: #fff; }Hope this helps.
Cheers!
January 18, 2017 at 3:54 pm #1335720
DilParticipantMay I ask how you found this? I couldn’t figure it out in inspect element.
January 18, 2017 at 5:48 pm #1335841
JadeModeratorHi there,
You should be able to create a CSS selector for it based on the inspector.
See screenshot below:
February 13, 2017 at 5:53 pm #1369682
DilParticipantThis reply has been marked as private.February 14, 2017 at 12:27 am #1370054
DilParticipantThis reply has been marked as private.February 14, 2017 at 1:29 am #1370093
RupokMemberHi there,
Thanks for writing back. This is simply done with Developers Tool and if you are used to with that then it should be easy. However can’t access your site to help with other issue – http://prntscr.com/e8i52n
February 14, 2017 at 9:46 pm #1371340
DilParticipantThis reply has been marked as private.February 15, 2017 at 4:03 am #1371649
LelyModeratorHi Dil,
For the heading color for this page:http://www.dilyar.ca/accomplishments, see this:http://screencast-o-matic.com/watch/cbnoQL667h. You can see how I click the plus sign and it adds the correct selector?
h1.h-landmark { color: red; }But then that will work for every page. We need to filter it work on portfolio page only. We have to add the portfolio page body class. So it will be like this:
.page-template-template-layout-portfolio h1.h-landmark { color: red; }You can see this page-template-template-layout-portfolio on the last part of the screencast.
Regarding the prompt box, it is because of the following CSS:
.x-prompt-section.x-prompt-section-message { width: 46%; font-size: 1em; line-height: 3; }Update to this:
@media (min-width: 980px){ .x-prompt-section.x-prompt-section-message { width: 46%; font-size: 1em; line-height: 3; } }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1334557 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
