Tagged: x
-
AuthorPosts
-
September 9, 2016 at 3:48 am #1167722
Laimuciukas0ParticipantHow to change size in shop page and in gallery page products title background bar, I mark it place in file.
Thank you.
September 9, 2016 at 4:50 am #1167784
DarshanaModeratorHi there,
Thanks for writing in! To assist you with this request, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
September 9, 2016 at 5:44 am #1167819
Laimuciukas0ParticipantThis reply has been marked as private.September 9, 2016 at 8:19 am #1167938
JoaoModeratorHi There,
Please add this code to Appereance Customizer Custom CSS
.woocommerce .cols-4 li.product, .woocommerce.columns-4 li.product { width: 24% !important; } .woocommerce li.product { margin: 0 1% 4.5% 0 !important; }Hope it helps
Joao
September 10, 2016 at 4:49 am #1169129
Laimuciukas0ParticipantCode reduce the gap between the product images (it’s good function too:)), but I wanted to reduce product title background bar height (I mark it place in file previously), because I would like to have a smaller font size to products titles.
September 10, 2016 at 6:08 am #1169165
ThaiModeratorHi There,
Please add the following CSS:
.woocommerce li.product .entry-wrap { padding: 4px 12px; } .woocommerce li.product .entry-header h3 { padding-bottom: 0; }Hope it helps 🙂
September 11, 2016 at 2:45 am #1169871
Laimuciukas0ParticipantThank you it works in shop page, I want to do in photos gallery page the same, please write how to do it?
September 11, 2016 at 4:40 am #1169971
ChristopherModeratorHi there,
Please provide us with URL of ‘photo gallery’ page.
Thanks.
September 11, 2016 at 10:04 am #1170170
Laimuciukas0ParticipantThis reply has been marked as private.September 11, 2016 at 10:21 am #1170183
ThaiModeratorHi There,
Please update the previous CSS a bit:
.x-iso-container-portfolio .entry-wrap, .woocommerce li.product .entry-wrap { padding: 4px 12px; } .woocommerce li.product .entry-header h3 { padding-bottom: 0; }Hope it helps 🙂
September 13, 2016 at 5:52 am #1172840
Laimuciukas0ParticipantThank you.
Maybe you can help with potfolio images view, I want to have images lightbox slide show, like in this website sunglasses http://sunboo.it/bamboo/, images pop up and have navigation next or previuos.
September 13, 2016 at 7:18 am #1172937
Paul RModeratorHi,
To achieve that, you can add this in your child theme’s functions.php
function x_featured_image( $cropped = '' ) { Global $post; $stack = x_get_stack(); $fullwidth = ( in_array( 'x-full-width-active', get_body_class() ) ) ? true : false; if ( has_post_thumbnail() ) { if ( $cropped == 'cropped' ) { if ( $fullwidth ) { $thumb = get_the_post_thumbnail( NULL, 'entry-cropped-fullwidth', NULL ); } else { $thumb = get_the_post_thumbnail( NULL, 'entry-cropped', NULL ); } } else { if ( $fullwidth ) { $thumb = get_the_post_thumbnail( NULL, 'entry-fullwidth', NULL ); } else { $thumb = get_the_post_thumbnail( NULL, 'entry', NULL ); } } switch ( is_singular() ) { case true: printf( '<div class="entry-thumb">%s</div>', $thumb ); break; case false: if ( is_post_type_archive('x-portfolio') ) { printf( '<a href="%1$s" class="entry-thumb" title="%2$s">%3$s</a>', esc_url( wp_get_attachment_url( get_post_thumbnail_id($post->ID) ) ), esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ), $thumb ); } else { printf( '<a href="%1$s" class="entry-thumb" title="%2$s">%3$s</a>', esc_url( get_permalink() ), esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ), $thumb ); } break; } } } add_action('wp_footer', 'enqueue_lightbox_script'); function enqueue_lightbox_script() { echo ' <script type="text/javascript" src="' . home_url() . '/wp-content/plugins/cornerstone/assets/dist/js/site/vendor-ilightbox.min.js"></script> <script> jQuery(document).ready(function(){jQuery(".entry-featured .entry-thumb").iLightBox({skin: "light",linkId: "gallery-image",overlay: {opacity: 0.875,blur: true},styles: {prevScale: 0.75,prevOpacity: 0.75,nextScale: 0.75,nextOpacity: 0.75},path: "horizontal",controls: {thumbnail: false}});}); </script> '; }Hope that helps.
September 13, 2016 at 8:52 am #1173050
Laimuciukas0ParticipantThank you, images pop up nice, bet maybe next and previous images could control with the icon
< image > , because now they floatSeptember 13, 2016 at 9:37 am #1173117
JoaoModeratorHi There,
Based on your last comment I am not really sure if you need assistance and with what, would you mind clarifying?
Thanks
Joao
September 14, 2016 at 1:39 am #1174391
Laimuciukas0ParticipantHi,
In attached file is marked, I would like to have control image slide show with arrowvs.
Laima
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1167722 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
