Home › Forums › Arnold WordPress Theme › Product title (wecommerce)
- This topic has 9 replies, 2 voices, and was last updated 4 years, 6 months ago by
SeaTheme.
-
AuthorPosts
-
November 14, 2021 at 10:30 pm #26120
Hi! At the moment I can only see the product title when I do a mouseover over the product image. Is it possible to place the title below the image?
November 15, 2021 at 1:30 am #26123Hi there,
Welcome to SeaTheme forum.
It is not possible to move title only below the image.
It is possible to move all text(title, price, add-cart)by custom CSS(“Appearance > Customize: Additional CSS”):.product-caption { position: relative; z-index: 1; left: 0px; top: 0px; bottom: 0px; right: 0px; opacity: 1; background-color: transparent; } .product-caption h3, .entry .product-caption h3{ font-size:1.2em; } .product-caption-inn .price { font-size: 0.8em; } .product-caption-inn.middle-ux { position: relative; top: 0; -webkit-transform: translate(0,0); -moz-transform: translate(0,0); -ms-transform: translate(0,0); transform: translate(0,0); }
November 16, 2021 at 9:57 pm #26154Thats awesome, thanks!
But is it possible to hide those too elements?
November 17, 2021 at 1:33 am #26155November 18, 2021 at 9:31 am #26166Thank you so much!
Another question would be how to put more space between the title and the image? ATM its too close…And also now I can not longer click on the image to get to the product page. Can we make the image clickable again?
November 18, 2021 at 2:03 pm #26169November 18, 2021 at 8:08 pm #26172This reply has been marked as private.November 19, 2021 at 1:35 am #261761. Please paste the custom CSS code to “Appearance > Customize: Additional CSS”:
.main-list .product-caption-title { margin-top: 15px; } .product-item .inside { cursor: pointer; }2. To add link for image:
It needs to add custom JS code(how) by a 3rd plugin – ” Simple Custom CSS and JS”, refer to -> https://doc.seatheme.net/general-topics/how-to-custom-a-wordpress-theme/#javascript-codesAdd the JS codes in the plugin:
jQuery(document).ready(function( $ ){ $('.main-list-item .inside').on('click', function(){ var link=$(this).find('.prouduct-item-a').attr('href'); window.location.href = link; }) });
December 3, 2021 at 9:38 pm #26236This reply has been marked as private.December 4, 2021 at 3:12 am #26237This reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.
