Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #607790

    Hello Ismael,

    have an update performed on Enfold 3.5.1
    I then entered the code in the funktions.php

    but now it crashes the site from – white screen –

    Can you here again the control Thanks

    And then I noticed that the orders are not displayed.
    (Vote The WooCommerce nodes) Any other function

    The access data I send with.

    Greeting Jessica

    • This topic was modified 8 years, 7 months ago by MATTIA.
    #607803

    Hey MEXX!

    the code is wrong, because copyed pasted from the email.
    can u please go back to forums – at ismael post and copy the code properly?

    Best regards,
    Basilis

    #607827

    Hello Basilis,

    the code has inserted into the functions.php ISMAEL. The worked all the time in connection with the CSS.

    Today the update Enfold recorded 3.5.1 and then no more.

    Why ? I do not know !?

    thank you

    greetings
    Jessica

    #608654

    Hi!

    Please create a child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/

    Create a functions.php file inside the child theme then enter the suggested codes:

    function avia_add_sidebar() {
    	global $avia_config;
    	if(is_product()) {
    		$back = $_SERVER['HTTP_REFERER'];
    		if(isset($back) && $back != "") echo '<a href="'.$back.'" rel="nofollow">Go back</a>';
    		$avia_config['currently_viewing'] = "shop_single";
    		get_sidebar();
    	}
    }
    
    // adjust settings on init
    add_action('init','ava534345953_init', 50);
    function ava534345953_init() {
    	add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25);
    }
    
    function avia_close_image_div() {
    	echo "</div>";
    }

    Regards,
    Ismael

    #608756

    Good morning, Ismael

    Thanks for the quick help. The code works – but not in the black box, as the last time.

    By “Enfold-CHILD” Theme does not work. Bring an error message. If you can log in to view it – under Theme

    I acted exactly as advertised.

    greetings
    Jessica

    #609272

    Hi!

    Thanks for the quick help. The code works – but not in the black box, as the last time.

    What do you mean by “black box”? Could you please provide a link to product page? The child theme is not available in the themes panel. Please upload it first then we’ll activate it for you.

    Regards,
    Ismael

    #609452

    Hello Ismael,

    the child theme were uploaded but not activated.

    Because the GO BACK unfortunately I can not send a picture. However, the GO BACK looked like CARD button. Black background and some white writing.

    thank you
    Best regards
    Jessica

    #609969

    Hi!

    Please do the following steps:

    1.) Create a backup or a restore point of the site. Please contact your hosting provider if you need help.

    2.) Activate the child theme.

    3.) Go to the Enfold Child > Import / Export panel.

    4.) Click the Import Parent Theme Settings then wait for the page to refresh.

    5.) Done.

    Regarding the button, add this in the Quick CSS field:

    .single-product-summary + a {
        background: black;
        color: white;
        padding: 7px 13px;
        left: 50px;
        position: relative;
    }
    
    .single-product-summary + a:hover {
        color: #ffffff;
    }

    For further modifications, please contact codeable: http://kriesi.at/contact/customization

    Cheers!
    Ismael

    #610066

    Good morning Ismael

    Thanks worked great everything.

    Nice weekend.

    greetings
    Jessica

    #610488

    Hi Jessica,

    Great, glad we could help :-)

    Thanks,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.