WebSite X5Help Center

 
A A.
A A.
User

CSS code works in the HTML object but doesn't globally  en

Autor: A A.
Besucht 2270, Followers 2, Geteilt 0  

Hello Support,

I found that if I place the following code in the Expert tab of HTML object it works as expected:

h1, h2 {display: inline-block;}

However if I place the same code in the Statistics, SEO and code it does not remove newline after <h1> and <h2> tags. I tried placing the code in the HEAD section as well as in all other places (out of frustration). Please do not tell me that this is the custom code and therefore you do not support it. The problem is very clearly lays with Website X5 v13 pro if I am putting the css code in the correct place.

Gepostet am
2 ANTWORTEN - 1 KORREKT
Incomedia
Claudio D.
Incomedia

Hello Max,

In the Statistic, SEO and code you need to specify it is css code by adding it between <style> and </style>

Many thanks!

Mehr lesen
Gepostet am von Claudio D.
A A.
A A.
User
Autor

Hello Claudio,

Thank you for the responce. You suggestion worked - after adding <style>h1 {display: inline-block;font-size: 22px;}</style> in the HEAD of Statistic, SEO and Code css styling is recognized globally.

Mehr lesen
Gepostet am von A A.