-
AuthorPosts
-
July 18, 2018 at 12:46 am #986700
Hi,
First I need to know how to change the colour of the green Text Box (shown at the attached Picture).
Second I Need to know where to change the link of the button “zurück zum Shop” which is shown at the shopping cart page when I removed all intems (also shown at the Picture).Thank you!
July 18, 2018 at 3:07 am #986721Hey nightpilot,
Please provide a link to the actual site so we can inspect the page.
Best regards,
Jordan ShannonAugust 4, 2018 at 4:21 pm #993525Hey Jordan,
pleas excuse my late Reaktion – I was on Holidays.
The Shop is not online already, so please Login to my WordPress account and use the preview of the Homepage. I´m using the masonry shop – not the default shop. The Shop Page is called “Shop”.August 6, 2018 at 7:22 pm #994045Hi,
How can I make that green area that you speak of show up?
Best regards,
Jordan ShannonAugust 7, 2018 at 12:12 am #994152Hi,
the green area Show up several times. One example ist the following;
Put several products into the Shopping cart-> view the Shopping cart->remove one product from the Shopping cart.
Now a green area is shown which says that the product was deleted.Please Keep in mind, that I also need to know to Change the target of the link whicgh I mentioned in my first post.
August 9, 2018 at 8:38 pm #995696Any idea?
August 10, 2018 at 9:03 am #995865Hi,
Please excuse the late reply – we overlooked it.
1) You can use following css code to change the color of the green box. Just insert it into the quick css field or child theme style.css:
#top #wrap_all div.woocommerce-message { border-color: #8BAF5B; background-color: #E0F1B5; color: #4F5F39; }
and change the color values.
2) Use this code to change the back to shop cart url:
/** * Changes the redirect URL for the Return To Shop button in the cart. * * @return string */ function wc_empty_cart_redirect_url() { return 'http://virtualbewerbung.de/?page_id=1176'; } add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );
and replace 1176 with the ID of the page you want to redirect to.
You can insert it into the functions.php file of your child theme. If you don’t use a child theme I’d recommend to create a small plugin, otherwise the code will be removed on every theme update.
You can use this code for the plugin:
<?php /* Plugin Name: Enfold Anpassungen Description: Anpassungen des Enfold Codes Version: 1.0 Author: InoPlugs Plugin URI: https://inoplugs.com Author URI: https://inoplugs.com */ /** * Changes the redirect URL for the Return To Shop button in the cart. * * @return string */ function wc_empty_cart_redirect_url() { return 'http://virtualbewerbung.de/?page_id=1176'; } add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );
– replace the ID 1176, then save it to a text file with the extension .php (i.e. enfold_anpassungen.php).
Then upload this text fiele to wp-content/plugins/. Afterwards go to the wordpress admin panel > Plugins and activate the new plugin.
Best regards,
DudeAugust 16, 2018 at 9:17 pm #998159Hi Dude,
thank you verry much for the detailed Explanation. It seems to be complicated but I will try my best.
August 17, 2018 at 7:11 am #998289Hi,
Please follow the steps correctly and it should work for you. In case you have any issue with it please feel free to get back to us. We will keep this ticket open until then.
Best regards,
VinayAugust 24, 2018 at 3:51 pm #1001280Hi Dude & Vinay,
everything worked perfectly. Is wasn´t as hard as I first thought.
So, I have to ask again about the 1. Issue.
With the help of your Code, I have changed the Colours of the box and the Colour of the text inside the box.
The first part of the text (that says that the intem has been removed) has the new Colour. the second part of the text (to make the removing undone) has still the old Colour.
How can I Change that part of the text?One more Question: I want to remove the magnifier from the head menu. How does that work?
- This reply was modified 6 years, 3 months ago by nightpilot.
August 26, 2018 at 7:26 pm #1001945Hi,
Add this to quick css:
a.restore-item{ color:#fff!important; } #menu-item-search{ display:none!important; }
Best regards,
Jordan ShannonSeptember 1, 2018 at 1:45 pm #1004355Hey Jordan,
it worked perfect.
Thanks to all for the great support!!!
September 1, 2018 at 4:49 pm #1004424Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
Vinay -
AuthorPosts
- The topic ‘Styling issues’ is closed to new replies.