Reporting & Analytics

OPardo
Miembro | Partner nivel Diamond
Miembro | Partner nivel Diamond

Padding bug when using Hubspot tracking code on customer's website

resolver

Hi there,

 

We found out the content of our customer's website moved up, distorting the page. Our customer tracked the problem and found it came from the Hubspot script to use its tracking code: https://js.hs-scripts.com/1865810.js

It seems like it is adding a padding-top: 0 that overrides our customer's padding. Find attached a screenshot. We partially solved it adding an "important!" tag. This is our customer's padding:
@media (min-width: 1024px)
body {
padding-top: 8.8125rem !important;
}

 

I'd be grateful if you could find an explanation why this is happening. Our customer's website is the following: eacnur.org/

 

Thank you,we partially solved it adding an "important!" tagwe partially solved it adding an "important!" tag

0 Me gusta
1 Soluciones aceptada
Solución
Anonymous
No aplicable

Padding bug when using Hubspot tracking code on customer's website

resolver

Hey @OPardo

 

I would try posting this in the COS Design area. Depending on the stylesheets of their external site, there could be different elements of styling interferring with the styling, but the design room (https://community.hubspot.com/t5/COS-Design/ct-p/designers) may have more insight. 

 

 

Ver la solución en mensaje original publicado

1 Respuesta 1
Solución
Anonymous
No aplicable

Padding bug when using Hubspot tracking code on customer's website

resolver

Hey @OPardo

 

I would try posting this in the COS Design area. Depending on the stylesheets of their external site, there could be different elements of styling interferring with the styling, but the design room (https://community.hubspot.com/t5/COS-Design/ct-p/designers) may have more insight.