Your modern single product layout.

Hello


On my site stedmundsadvertising.com if you look at the single product pages you will see I have chosen to use BeTheme's 'modern' layout with the product image at the top.

I love the design and the look of it, but the product image at the top is too tall. Is there any way to make the product image shorter in height?

If you look, at the moment I am using the css below to achieve the desired effect,

.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {top: -500px; }


The problem with this CSS though is the product image only shows the bottom part of the image, I want the section that is visible to show a strip in the middle of the product image, is this possible?

Comments

  • Hi,

    Can you explain that in more detail, please?

    I quite do not understand what stripe you want to have on your product page exactly.


    Thanks

  • Hi Phil, not a stripe, if you look at the top of my single product pages. I am using the modern woocommerce layout that is Betheme options.

    I'll try to say it clearer

    If you look you will see I have made the product image very narrow at the top of the page. I did this by setting the margin-top to -700px so it cuts off the top half of the product image. Is there a better way to make the product image narrower in height so the visible part of the product image is the top or middle?

  • Sorry, I'm not sure what you mean - when I disable the CSS you set, the whole imaage is visible correctly

    Do you want to disable the text which is above that image?

    thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.