Home Forums WoodMart support forum Reducing padding on mobile on product pages

Reducing padding on mobile on product pages

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #439621

    wildguitars
    Participant

    Hi guys, can you please assist me with reducing the product page padding on mobile? This is for both the short and long descriptions.

    Thanks,
    Tom

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

    Hello,

    It seems that the content is set to Container Fluid on your Site which generally has the left and right padding by default set to 15 pixels. So, you can try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for mobile area:

    .main-page-wrapper .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    Best Regards.

    #440027

    wildguitars
    Participant

    Hi Aizaz,

    Thanks so much for the code, it did the trick on our staging site. I changed the padding from 0 to 5, though.

    For some reason it’s not working on our live site, though. Can you please look into this for me? I’ve put the code exactly as you instructed.

    Best regards,
    Tom

    #440178

    wildguitars
    Participant

    I’ve recorded a video, if you can please download it.
    https://we.tl/t-TtgqPh6hXQ

    Pages for comparison:
    https://dev2.wildguitars.co.il/product/prs-s2059372/
    https://www.wildguitars.co.il/product/prs-s2059372/

    Thanks,
    Tom

    #440222

    Hello,

    Actually, as we have seen on both of your Sites, the modification that you have done in our provided Custom CSS is incorrect.

    If you want to define values other than 0 then you need to apply the Custom CSS with pixels to values like 5px or 10px not like 5 only, it is incorrect.

    So, the modified version of the earlier provided CSS should be like this:

    .main-page-wrapper .container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    The location to paste the Custom CSS is the same as told earlier.

    Best Regards.

    #440459

    wildguitars
    Participant

    Thank you for the clarification, it works great now!

    #440657

    Most Welcome!!!.

    I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.

    We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘Reducing padding on mobile on product pages’ is closed to new replies.