llvasconcellos
Forum Replies Created
-
Fixed the problem by adding this to functions.php:
add_action( 'after_setup_theme', 'yourtheme_setup' ); function yourtheme_setup() { add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' ); }
and this to Custom CSS:
.woocommerce-product-gallery figure { max-width: 1000%; } .single-product div.product .images .flex-control-thumbs { margin-top: 26px; } .single-product div.product .images .flex-control-thumbs li { margin-right: 10px; } .single-product div.product .images .flex-control-thumbs li img { width: 100px; } .woocommerce-product-gallery { position: relative; margin-bottom: 3em } .woocommerce-product-gallery figure { margin: 0 } .woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2) { width: 25%; display: inline-block } .woocommerce-product-gallery .flex-control-thumbs li { list-style: none; float: left; cursor: pointer } .woocommerce-product-gallery .flex-control-thumbs img { opacity: .5 } .woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1 } .woocommerce-product-gallery img { display: block } .woocommerce-product-gallery--columns-3 .flex-control-thumbs li { width: 33.3333% } .woocommerce-product-gallery--columns-4 .flex-control-thumbs li { width: 25% } .woocommerce-product-gallery--columns-5 .flex-control-thumbs li { width: 20% } .woocommerce-product-gallery__trigger { position: absolute; top: 1em; right: 1em; z-index: 99; } a.woocommerce-product-gallery__trigger { text-decoration: none; } .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { position: absolute; top: .875em; right: .875em; display: block; height: 2em; width: 2em; border-radius: 3px; z-index: 99; text-align: center; text-indent: -999px; overflow: hidden; } .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { background-color: #169fda; color: #ffffff; } .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover { background-color: #1781ae; border-color: #1781ae; color: #ffffff; } .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:before { font: normal normal normal 1em/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; display: block; content: "\f00e"; line-height: 2; text-indent: 0; }
Forum: Reviews
In reply to: [Client Side Image Resize] Can’t be deinstalledHi @franz92, due to the way plugins are built on wordpress they can’t execute after deactivating. It’s no possible, but I did test it anyways and it’s fine. Can you please change your review score?
Forum: Plugins
In reply to: [SyntaxHighlighter Evolved] Error: Failed to execute 'insertBefore' on 'Node'I just fixed it. I had php display errors enabled on php.ini.
After disabling it worked fine.Forum: Plugins
In reply to: [SyntaxHighlighter Evolved] Error: Failed to execute 'insertBefore' on 'Node'I’m having the same problem right now. Did you manage to solve it?
Forum: Fixing WordPress
In reply to: .htaccess help: Can't access non-wordpress php files in web rootWell, so for me the problem is different because I have other php files related to my site that are not listed on the white list created by the .htaccess.
For example, in my website I use timthumb to generate thumbnails for images and since this .htaccess change the images on the website are not showing (404 error).
One quick fix would be add the file timthumb.php to the whitelist like this:
<FilesMatch "index.php|wp-login.php|wp-comments-post.php|wp-cron.php|load-styles.php|edit.php|post.php|wp-tinymce.php|timthumb.php">
But the problem is that the file keeps being rewrited and my edit is gone.
I’ve tried to change .htaccess file permissions with no success and now I’m filling a ticket to my host support.
I hope this help clarify things to other people with the same issue.
Forum: Fixing WordPress
In reply to: .htaccess help: Can't access non-wordpress php files in web rootI’m having the same problem. I think it’s some script running on my host. I’ll get back about that.
Forum: Reviews
In reply to: [Client Side Image Resize] Works like describedI don’t have an Ipad to test but I’ll take a look at this. Thanks for the feedback!