- This topic is empty.
-
AuthorPosts
-
February 3, 2014 at 1:49 pm #161768
katmac
ParticipantHi
I have installed Wishlist pro and would like to change the background color
to grey and the text color to white.See “Add to Registry” button – sample page below…
http://www.babyridesafe.com/product/babymoov-6-activity-palm-tree/I have gone through the wishlist.css file and have tried about everything I could think of and can’t seem to get the colors to change.
Any help would be appreciated.
February 3, 2014 at 1:58 pm #161771jkinney768
ParticipantThe CSS for the body background doesn’t look like it’s in a CSS file and is defined on the actual HTML page in the head section. If you do a view source and search for it you can see. You’ll probably have to edit one of your template files. I’d probably move all of those styles in the head section in to a stylesheet too.
February 3, 2014 at 2:10 pm #161772katmac
ParticipantHi
I have found the wishlist single-wishlist template file and found the code for the button
Added a style there to over-ride and it still isn’t working.
February 3, 2014 at 2:13 pm #161773Soren
ParticipantIf you mean the “Add to Registry” button, its styles are declared in woocommerce.css.
babyridesafe.com/wp-content/plugins/woocommerce/assets/css/woocommerce.css
Here’s a screenshot of chrome inspector
http://s14.postimg.org/6ssxhaoa9/Screen_Shot_2014_02_03_at_20_59_02.png
February 4, 2014 at 6:12 am #161817katmac
ParticipantHi
I have done an over-ride of the style sheets and added this code to just above the tag.
wishlist_add_button
{
background: -moz-linear-gradient(center top , #EF8DBF 0%, #E960A6 100%) repeat scroll 0 0 rgba(255, 255, 255, 0.9) !important;
}However, the button still stays the same.
February 4, 2014 at 6:42 am #161819Paulie_D
MemberThat gradient will only work for Firefox, you should add the other prefixed versions too.
February 4, 2014 at 6:43 am #161820katmac
ParticipantHi
I’m using FireFox and I don’t see any changes.
Once I can get this working, I will fix up for other browsers.February 4, 2014 at 7:56 am #161823Paulie_D
MemberIf you mean the “Add to Registry” button, its styles are declared in woocommerce.css.
babyridesafe.com/wp-content/plugins/woocommerce/assets/css/woocommerce.css
If you cannot edit this..and I understand that some WooCommerce themes are not editable…then you are stuck with it.
If you can…there you are.
February 4, 2014 at 8:20 am #161825Soren
ParticipantI built a site with woocomeerce last week and the button’s styles can be changed. Some of the woocommerce.css declarations use !important.
color: #363636 !important; (this is why your button’s text is dark)
You need to get these styles overridden further down the waterfall. I hesitate to edit plugin css files only because any future update to the plugin may change them.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.