Home Forums WoodMart support forum Increase size of product gallery arrows without affecting highlighted products

Increase size of product gallery arrows without affecting highlighted products

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #672929

    kontakt-9949
    Participant

    Hey, you gave me this code to increase the size of the main product gallery arrows and it worked perfectly:

    .single-product .wd-nav-arrows:not(.wd-thumb-nav) {
    –wd-arrow-width: 50px;
    –wd-arrow-height: 40px;
    –wd-arrow-icon-size: 35px;
    }

    The only problem is that it also increased the arrow size for the highlighted products widget, which does not look good at all. How do I prevent the css you gave me from styling the arrows on the highlighted products widget? I only want the larger size for the main product gallery arrows. Disabled the live css for now.

    Looking forward to hearing from you. See screenshots for clarification.

    Attachments:
    You must be logged in to view attached files.
    #673027

    Hello,

    Sorry to hear about the inconvenience. Try to remove the previous code and add the following custom css code in Theme Settings > Custom CSS > Global CSS area.

    .single-product .woocommerce-product-gallery .wd-nav-arrows {
        --wd-arrow-width: 50px;
        --wd-arrow-height: 40px;
        --wd-arrow-icon-size: 35px;
    }

    Best Regards,

    #673094

    kontakt-9949
    Participant

    Works perfectly, thank you so much.

    #673444

    Hello,

    You’re very welcome! If you need anything else, feel free to reach out!

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards,

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Increase size of product gallery arrows without affecting highlighted products’ is closed to new replies.