angelleye on "[Plugin: Offers for WooCommerce] Override CSS"

ساخت وبلاگ

I've tried overriding the CSS using the plugin Simple Custom CSS and in the child theme style.css, but no luck. The only way I've been able to change the button alignment is to edit the /public/assets/css file directly, which I definitely don't want to do.

I need to override the float:left to float:center:
.offers-for-woocommerce-make-offer-button-catalog {
float:left;
position:relative;
}

https://wordpress.org/plugins/offers-for-woocommerce/

Using a plugin isn't necessary. Overriding in the child theme's style.css would be the way to do it. If you've done that and it's not working then either the rule you adjusted isn't correct, or it could be that you have caching / CDN services in play that are still loading up the original CSS.

Please check into those things and let me know if you still have problems.

Digitsoft
Member
Posted 16 minutes ago #

I know a plugin isn't necessary, but easy for quick tests.

I copied this line from the plugin's css file directly and just changed left to center in the child theme style.css:
.offers-for-woocommerce-make-offer-button-catalog { float:center; position:relative; }

This is a pre-live site and there's no CDN or caching enabled.

LMK if you have any ideas...

Thanks!

Rob

What is the URL to your site so I can take a quick look at the page with the button on it?

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 255 تاريخ : جمعه 11 تير 1395 ساعت: 23:55