ERROR. Answear!! - by Dittemila - on WordPress WooCommerce support

This topic has 7 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Jack Richardson

  • Avatar: catrine87
    Dittemila
    Participant
    January 25, 2016 at 09:59

    PLEASE HELP NOW! After placing a css code in function.php this happend

    i followed this link and added one of the css codes in function.php

    https://wordpress.org/support/topic/remove-sale-tag-on-product-image

    we have removed the css again, but this error is still there

    Fatal error: Uncaught Error: Call to undefined function et_get_static_blocks() in /var/www/lecc.dk/public_html/wp-content/themes/legenda/framework/vc.php:777 Stack trace: #0 /var/www/lecc.dk/public_html/wp-includes/plugin.php(525): etheme_VS_setup(”) #1 /var/www/lecc.dk/public_html/wp-settings.php(392): do_action(‘init’) #2 /var/www/lecc.dk/public_html/wp-config.php(99): require_once(‘/var/www/lecc.d…’) #3 /var/www/lecc.dk/public_html/wp-load.php(37): require_once(‘/var/www/lecc.d…’) #4 /var/www/lecc.dk/public_html/wp-blog-header.php(12): require_once(‘/var/www/lecc.d…’) #5 /var/www/lecc.dk/public_html/index.php(17): require(‘/var/www/lecc.d…’) #6 {main} thrown in /var/www/lecc.dk/public_html/wp-content/themes/legenda/framework/vc.php on line 777

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 25, 2016 at 14:51

    Hello,

    You have been answered regarding this issue in your previous topic https://www.8theme.com/topic/fatal-error-uncaught-error-call-to-undefined-function-et_get_static_blocks/

    Best regards,
    Jack Richardson.

    Avatar: catrine87
    Dittemila
    Participant
    January 25, 2016 at 15:01

    I was trying to edit the sale bagde. How to do that?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 25, 2016 at 16:55

    Hello,

    Do you want to hide sales badge from products images http://prntscr.com/9unkip ?
    If yes then add this ccs code in custom.css:

    .label-icon.sale-label {
        display: none !important;
    }

    Best regards,
    Jack Richardson.

    Avatar: catrine87
    Dittemila
    Participant
    January 25, 2016 at 18:36

    Thank you.
    And a css to change footer backkground color?

    Avatar: catrine87
    Dittemila
    Participant
    January 25, 2016 at 19:26

    And a css to change product name color, and place name and price beside each other. Now the price is under the product name

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 25, 2016 at 21:06

    Hello,

    To change footer background try this css code in custom.css:

    .footer-top.footer-top-3, .footer.footer-bottom-3, .footer.footer-bottom-2 {
       background-color: #F54EC9 !important;
    }

    To change product name color use the following css code:

    .slide-item .product .product-name, .products-grid .product .product-name a {
        color: #F54EC9 !important;
    }

    Set background and color values to your needs.

    and place name and price beside each other

    Unfortunately product name and price can’t be placed in line as products image width doesn’t allow to do such change. As alternative variant I can propose you to center product name and price using this css:

    .products-grid.product-count-4 .product {
        text-align: center !important;
    } 

    Best regards,
    Jack Richardson.

  • Viewing 7 results - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.