Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Change colour of current page on woocommerce product archive
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Change colour of current page on woocommerce product archive
- This topic has 12 replies, 2 voices, and was last updated 10 years by Mohammad – SUPPORT.
-
Posted in: Neighborhood
-
August 29, 2014 at 11:00 am #105184
Hi,
Struggling to change/over ride the css for this. I may have mentioned it before I cannot remember.
Whatever I try I cannot get the background colour to change from the default themes ‘turquoise’ colour.Can you help me out here?
Attached is the screenshot of the button I need to change.
Need the background colour of the current page to be #575756.Many Thanks,
Attachments:
You must be logged in to view attached files.August 29, 2014 at 11:13 am #105191Hi,
Please use this custom css code:-
body.page-id-10302 #main-container{background:#575756 !important}
Thanks 🙂
With Best Regards
MohammadAugust 29, 2014 at 11:17 am #105194Hi,
That didn’t work for me sadly. I also imagine that having one page id isn’t going to carry over once I move the site form testing surely…?
Button highlighted with red!
Cheers
Attachments:
You must be logged in to view attached files.August 29, 2014 at 11:31 am #105206Hi,
Please provide me specific page url to get exact quick solution.
ThanksAugust 29, 2014 at 11:37 am #105211This reply has been marked as private.August 29, 2014 at 11:49 am #105218Hi,
Please use this custom css code:-nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current{background:#575756 !important} nav.woocommerce-pagination ul.page-numbers li a{background:#575756 !important}
Thanks 🙂
With Best Regards
MohammadAugust 29, 2014 at 12:08 pm #105226Excellent!
Im not sure why that was such a struggle but thank you. That has solved it.
I definitely had something similar in there css wise but it wasn’t working. But thankfully this is.thanks
August 29, 2014 at 12:11 pm #105228I do have an unrelated question..
I need to change one more section of text for when you have added a product to your ‘cart’.
Instead of it saying cart I need it to read ‘price enquiry’See screenshot. Im not sure where to find this in order to override it in either my child theme files or with text changes plugin.
thanks!
August 29, 2014 at 12:13 pm #105229Hi,
You forgot to attach screenshot and provide me specific page url.
ThanksAugust 29, 2014 at 12:15 pm #105231Ah!
If you add this product to the cart. Choose option and add you will see above in the woocommerce message chart it reads ‘cart’.
http://testing.atkeyandco.com/product/georgian-dado-rail/
Thanks
Attachments:
You must be logged in to view attached files.August 29, 2014 at 1:12 pm #105249Hi,
Please use this custom php code at function.php of child theme.add_filter( 'woocommerce_add_to_cart_message','custom_add_to_cart_message' ); function custom_add_to_cart_message() { global $woocommerce; $message = 'Product was successfully added to price enquiry'; return $message; }
Thanks
August 29, 2014 at 1:29 pm #105258I have added that, refreshed page and tried again, then emptied cache, refreshed and tried again. But sadly that hasn’t worked for me. Still saying exact same thing. ‘product name’ was successfully added to cart
August 29, 2014 at 2:58 pm #105275Hi,
It woocommerce related issue So please contact at https://support.woothemes.com/ to get right suggestion.
Thanks 🙂
With Best Regards
Mohammad -
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.