Layout Builder – Problem with “margin” and “padding” in the front-end
-
In the “Single Product layout,” if I enter the “margin” or “padding” parameters, they are ignored in the front-end layout.
No space is added. The margin-top parameter is ignored by the front-end layout (see images).
Best regards,
Marco
Attachments:
You must be
logged in to view attached files.
It’s really frustrating because I don’t have full control over the layout, either for the individual product layout or the product archive. For example, If I insert a spacer, the line doesn’t appear and it doesn’t affect the spacing in any way. If I set the advanced Margin or Spacing parameters, they’re completely ignored in the front-end.
Could you help me understand the reason for this behavior?
Thanks in advance,
Best regards,
Marco
Hello,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then, activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists, then keep the 3rd party plugins deactivated and let me know I will further check and give you a possible solution.
Best Regards,
While investigating the issue, I realized that the Optimole plugin is interfering with the layout. I’ve now disabled the “Serve CSS and JS via Optimole” option in the Optimole settings. Now everything seems to be working. I’ll send a final update to close the topic.
Thanks,
Best regards,
Marco
Hello,
Thank you for the update! I’m glad to hear that you found the cause of the issue and everything is working properly now after adjusting the Optimole settings.
We appreciate you taking the time to share your findings. If you have any questions feel free to contact us.
Best Regards,
Thanks for your support, the issue can now be closed.
Best regards,
Marco
Hello,
You’re Most Welcome!
Feel free to write back anytime. If you need further assistance, we are always here to help you.
If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme: https://tally.so/r/w4l54k
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘Layout Builder – Problem with “margin” and “padding” in the front-end’ is closed to new replies.