This topic has 7 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Jack Richardson
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
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.
I was trying to edit the sale bagde. How to do that?
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.
Thank you.
And a css to change footer backkground color?
And a css to change product name color, and place name and price beside each other. Now the price is under the product name
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.
You must be logged in to reply to this topic.Log in/Sign up