Title: Issue with padding/margin using Woocommerce template
Last modified: June 11, 2019

---

# Issue with padding/margin using Woocommerce template

 *  [thermogroup](https://wordpress.org/support/users/thermogroup/)
 * (@thermogroup)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/issue-with-padding-margin-using-woocommerce-template/)
 * Hello,
 * I posted this issue a while ago but haven’t been able to resolve it.
 * I created a template which works fine on single products (the image with the 
   black thermostat) however on all pages which have product variations, I am getting
   an issue with the padding/margin at the top of the page.
 * Here is a live page with the issue:
    [https://www.thermosphereheatingstore.com/product/comfortzone-150w-electric-underfloor-heating-mat/](https://www.thermosphereheatingstore.com/product/comfortzone-150w-electric-underfloor-heating-mat/)
 * And here is one without the issue:
    [https://www.thermosphereheatingstore.com/product/thermotouch-programmable-wifi-glass-thermostat/](https://www.thermosphereheatingstore.com/product/thermotouch-programmable-wifi-glass-thermostat/)
 * (please note this isn’t optimised properly for mobile yet)
 * Any help is hugely appreciated!!
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissue-with-padding-margin-using-woocommerce-template%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [6 years, 11 months ago](https://wordpress.org/support/topic/issue-with-padding-margin-using-woocommerce-template/#post-11626039)
 * It’s an issue with the implementation of the template/ style that has been added
   to _move your content up_ closer to the header. Remove that style. It’s added
   with elementor and if you’re unsure how to remove it you can ask elementor’s 
   support.
 * In general, try to avoid moving things up in that fashion. I’m not sure how much
   elementor has revealed, but the style is a bit of a hack:
 *     ```
       .elementor-81 .elementor-element.elementor-element-2880adf {
           ...
           margin-top: -49px;
           ...
       }
       ```
   
 * It’s the negative value that is bad practice.

Viewing 1 replies (of 1 total)

The topic ‘Issue with padding/margin using Woocommerce template’ is closed to new
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/issue-with-padding-margin-using-woocommerce-template/#post-11626039)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
