Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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).

    Shopping Cart Picture

    Thank you!

    #986721

    Hey nightpilot,

    Please provide a link to the actual site so we can inspect the page.

    Best regards,
    Jordan Shannon

    #993525

    Hey 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”.

    #994045

    Hi,

    How can I make that green area that you speak of show up?

    Best regards,
    Jordan Shannon

    #994152

    Hi,

    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.

    #995696

    Any idea?

    #995865

    Hi,

    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,
    Dude

    #998159

    Hi Dude,

    thank you verry much for the detailed Explanation. It seems to be complicated but I will try my best.

    #998289

    Hi,

    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,
    Vinay

    #1001280

    Hi 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.
    #1001945

    Hi,

    Add this to quick css:

    a.restore-item{
    color:#fff!important;
    }
    
    #menu-item-search{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #1004355

    Hey Jordan,

    it worked perfect.

    Thanks to all for the great support!!!

    #1004424

    Hi,

    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

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Styling issues’ is closed to new replies.