Home › Forums › WoodMart support forum › Modifying Single-Product Page Elements
Modifying Single-Product Page Elements
- This topic has 12 replies, 2 voices, and was last updated 4 years, 5 months ago by Elise Noromit.
-
AuthorPosts
-
November 16, 2019 at 10:19 pm #157298
bidnbuyParticipant– How do I increase the font-size of the price.
– How do I decrease the size of the thumbnails.Thanks
Attachments:
You must be logged in to view attached files.November 17, 2019 at 10:19 am #157322
Elise NoromitMemberHello,
You can change the font by means of an Advanced typography option, which allows you to choose the item from a drop-down or insert your custom CSS class. Please navigate to the Theme Settings > Typography > Advanced Typography.
Here is the documentation providing more detailed instructions: https://xtemos.com/docs/woodmart/advanced-typography-settings/
Please provide the site URL and thumbnail size you want, I will provide CSS.
Best Regards
November 17, 2019 at 5:41 pm #157369
bidnbuyParticipantThanks you.
Adding a new rule under “Advanced Typography” doesn’t seem to work for on-sale products. The font color hasn’t updated to red as it did with products with no sale price.
– Worked for: https://bnbdeals.local/bnb-product/active-wireless-noise-cancelling-bluetooth-headphones-with-microphone-over-ear/
– Didn’t work for: https://bnbdeals.local/bnb-product/smart-watches-wood-edition/—-
Site URL: reference above
My preferred thumbnail size (px): 110×110Regards
November 18, 2019 at 12:43 am #157410
bidnbuyParticipantThe new rule under “Advanced Typography” to set the color of the price to red also does work when changing the variable colors.
November 18, 2019 at 10:18 am #157517
Elise NoromitMemberHello,
Your site is not working now. Please check and contact us when the site is working.
Best Regards
November 18, 2019 at 3:21 pm #157605
bidnbuyParticipant…I have no idea what you mean by “Your site is not working now”. The website is loading fine.
November 18, 2019 at 5:18 pm #157629
Elise NoromitMemberNovember 18, 2019 at 6:34 pm #157640
bidnbuyParticipantOur apologies. Please find below updated links as the previous links were to our local dev environment.
—–
Works:
– https://bidnbuy.auction/bnb-product/active-wireless-noise-cancelling-bluetooth-headphones-with-microphone-over-ear/
– https://bidnbuy.auction/bnb-product/iphone-dock/Doesn’t work with this on-sale variable product (color is still orange and not red):
– https://bidnbuy.auction/bnb-product/smart-watches-wood-edition/Does not work when selecting a different color product:
– https://bidnbuy.auction/bnb-product/polaroid-snap-instant-digital-camera-with-zink-zero-ink-printing-technology/Thanks.
November 19, 2019 at 7:09 am #157690
Elise NoromitMemberHello,
Please check your custom CSS in the Theme Settings and make sure there are no errors, check the prices with deactivated plugins not related to the theme, if it does not help, update the site admin access we shall check.
Best Regards
November 19, 2019 at 2:27 pm #157816
bidnbuyParticipantHello,
As requested, the site’s admin access has been updated.
Thanks
November 19, 2019 at 3:55 pm #157839
Elise NoromitMemberHello,
You have set the colors in the Advanced Typography for the single product and for the variable product https://prnt.sc/pz58s8 and it works properly for the single and variable products, however, when a product on sale, the default colors are applied.
If you want to change it only on single product take this custom CSS:
body .price ins .amount { color: red; } body .single-product-page .price ins .amount { color: red; }
If you want to change it on a product grid as well, take this code in addition:
/* STYLE OF FIRST PRICE */
.product-grid-item .price .amount:first-child {
color: red; /* COLOR */
font-weight: 600; /* FONT WEIGT */
}/* STYLE OF SECOND PRICE */ .product-grid-item .price .amount:last-child { color: blue; /* COLOR */ font-size: 16px; /* SIZE */ font-weight: 600; /* FONT WEIGT */ } body .single-product-content p.price .amount:first-child { color: red; /* COLOR */ } body .single-product-content p.price .amount:last-child { color: blue; /* COLOR */ }
Best Regards
November 19, 2019 at 10:34 pm #157887
bidnbuyParticipantThank You.
November 20, 2019 at 7:08 am #157914
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
The topic ‘Modifying Single-Product Page Elements’ is closed to new replies.
- You must be logged in to create new topics. Login / Register