Jump to content


Better, More Convenient, Private Support for Your iThemes Products Is Here.


We're moving support away from the forum and in to private tickets - Log In to Get Support Here


Note: any currently open support threads in the community forum will stay open while we resolve them.

Replying to Removing Default Styling


Post Options

  or Cancel


Topic Summary

Ronald

Posted 05 May 2014 - 05:36 AM

@kmgroup, please don't crosspost, thanks!

see also: http://ithemes.com/forum/topic/60319-styling-problems/

kmgroup

Posted 03 May 2014 - 06:54 PM

So I need help here:

Here is my link:

http://gp930.com/product/gabriel-gift-pack/

I have the Buy Now button and the Add to cart button

I would love to reduce the width and the height

so I added this to my css style which it is in the /mytheme/exchange/style.css

This is the code that it is showing using chrome's inspect elements:



.it-exchange-super-widget .it-exchange-sw-product .buy-now-button, .it-exchange-super-widget .it-exchange-sw-product .add-to-cart-button {
  • width: 100%;

}



This is the code I used in my style sheet:

Tell me what is wrong:



.it-exchange-super-widget .it-exchange-sw-product .buy-now-button, .it-exchange-super-widget .it-exchange-sw-product .add-to-cart-button {
  • width: 64%;

}


It brings the frontend.css....

trundlemedia

Posted 20 February 2014 - 03:29 PM

that worked, thanks!

Ronald

Posted 19 February 2014 - 02:23 PM

Hi,

to remove (make sure that it doesn't load) the super widget frontend-global.css, add the following code at the end of your child themes functions.php (but before a closing ?>, if any!)

// Do not load super widget stylesheet
add_filter( 'it_exchange_disable_super_widget_stylesheet', '__return_true');

The autocomplete css is more generic, and used for several purposes. It should(!) not interfere, but let us know if it does,

Ronald

trundlemedia

Posted 17 February 2014 - 08:35 PM

I'm creating my own styling for exchange.  I used the info here: http://ithemes.com/codex/page/Theming_Exchange_-_Remove_Default_Exchange_Stylesheet

to remove most of the styling but apparently a few of the stylesheet are still be included in the page, specifically these two:

<link rel='stylesheet' id='it-exchange-super-widget-frontend-global-css' href='http://www.*********.com/wp-content/plugins/ithemes-exchange/lib/super-widget/css/frontend-global.css?ver=3.8.1' type='text/css' media='all' />
<link rel='stylesheet' id='it-exchange-autocomplete-style-css' href='http://www.*********.com/wp-content/plugins/ithemes-exchange/lib/assets/styles/autocomplete.css?ver=3.8.1' type='text/css' media='all' />

is there a way to remove those as well?

Review the complete topic (launches new window)

Better, More Convenient, Private Support for Your iThemes Products Is Here.


We're moving support away from the forum and in to private tickets - Log In to Get Support Here


Note: any currently open support threads in the community forum will stay open while we resolve them.