-
AuthorPosts
-
February 17, 2015 at 4:26 am #208311
Hi there.
I’m struggeling to remove the borders around both main img and thumbs-imgs on a productpage. In fact I would like the shop to look like the shop in the Icon-demo. But even if I replace the style.css with all code from the icon.css it still looks 99% like integrity.
1. Is there an easy fix to to border and hover regarding the images in the product-page?
2. How can I easily change my shop to look more like icon – minimalistic and without too many borders and hover etc.?
February 17, 2015 at 4:29 am #208316This reply has been marked as private.February 17, 2015 at 4:35 am #208320I’m using WP 4.1
Woocommerce: 2.3.3Thanks…
/t
February 17, 2015 at 9:04 am #208507Hi There,
Thanks for writing in!
Try adding following CSS under Appearance > Customize > Custom > CSS:.single-product a.x-img-thumbnail:hover { border: none !important; }
Hope it helps.
February 17, 2015 at 9:53 am #208570Thanks for the reply.
However, it does not help.
Also – is the !important; needed also if I write in style.css in childtheme?
If you take a look on the shop – and choose a single product, you will see both a frame around the image (not really a img-border I think) – which changes to red by hover…
I want to get rid of this “frame” or border – but have tried almost everything I can think of.Also, is there somewhere where I can find all the css-values for integrity that can be modified?
I have tried to pasta the icon.css into my style.css in childtheme – but it is very little that get’s changed. I’m surprised by this and have the feeling that my style.css in childtheme get’s overwritten somewhere….???
Thank you.
Kind regards
February 17, 2015 at 2:00 pm #208757Hi there,
Thanks for writing in!
You can use following CSS instead:
body.single-product a.x-img-thumbnail { border: none; }
The integrity default CSS file can be found under /wp-content/themes/x/framework/css/site/stacks/integrity-light.css, however, it is advisable that you don’t make any changes to the core theme files. In regards to the child theme CSS, so make sure to add a
body
orhtml
selector before every CSS rule so that it takes priority over default theme CSS, e.g.,body .entry-content { background-color: red; }
Cheers!
February 17, 2015 at 3:13 pm #208797Thanks – it helps a bit..
However, there is still some kind of “glow” around the images, both main image and thumbs.Also – is there a way to download the demo-content .css files (integrity and icon) without installing the demo-content? I am afraid to overwrite my files – and I accidental reset my .json file today and have lost all my styling.
Thanks again for your help.
Regards
February 18, 2015 at 3:12 am #209061Hi,
To remove the glow, you can add this under Custom > CSS in the Customizer.
body .woocommerce .related ul.products li.product, body .woocommerce-page .related ul.products li.product, body .woocommerce li.product, .woocommerce-page li.product { box-shadow:none; }
With regards to demo content, it does not have a css file.
In case you have overwritten your core css files, you can download again the theme at your themeforest download page
and you can get the css files at wp-content/themes/x/framework/css/site/stacksFor more info on demo content please see -https://theme.co/x/member/demo-content/
Hope that helps.
February 18, 2015 at 12:56 pm #209452Thanks for the feedback.
The glow is still there though…
It’s a hard one to kill I guess!
Any more suggestions?
Now it is getting a matter of princip!
Thanks.
February 18, 2015 at 6:54 pm #209721Hi there,
Would you mins showing screenshot showing these glowing edges?
For the meantime, please try this :
.woocommerce .upsells ul.products li.product, .woocommerce .related ul.products li.product, .woocommerce .cross-sells ul.products li.product, .woocommerce-page .upsells ul.products li.product, .woocommerce-page .related ul.products li.product, .woocommerce-page .cross-sells ul.products li.product, .x-img-thumbnail { box-shadow: none !important; }
Thanks!
February 19, 2015 at 3:28 am #209977Hey
Great – the last one finally killed it.
box-shadow – aha.
Is there a list/overview somewhere where one can see all these different names/attributes that is possible to adjust via css?
It would be great to all of us without css-expert-knowledge…However, thanks so much for your help.
Regards
February 19, 2015 at 12:33 pm #210284Hi There,
Developers usually use inspect elements in your browser.
In chrome, you press right click in a site where you want to check the html code then inspect element and it will show the sites html code.
Firefox and IE has also ways to inspect element.
Hope it helps.
Thanks.
-
AuthorPosts