Problem mit automatischen Überschrift-Stilen (H1–H6) im Theme

Posted in: Newspaper
Post count: 5

Sehr geehrtes Support-Team,

bei meinen Seiten tritt immer wieder folgendes Problem auf:
Das Theme (TagDiv Composer/Newspaper) wendet automatisch Standard-CSS auf meine Überschriften (H1–H6) an. Beispiel:

H1 | .tdi_51{padding-bottom:55px!important}.tdm_block_column_title_simplified_2{display:flex;flex-direction:column;margin:0;transform:translateZ(0);font-size:28px;line-height:1.3;font-weight:400;color:#111}.tdm_block_column_title_simplified_2>.td-element-style{z-index:-1}.tdm_block_column_title_simplified_2 .tdm-title-s-text{text-align:left}.tdm_block_column_title_simplified_2:after{content:”;order:2;position:relative;display:block;margin:14px auto 0 0;height:1px;background-color:var(–td_theme_color,#4db2ec);transition:all 0.2s ease}.tdi_51 .tdm-title-s-text,.tdi_51 .tdm-title-s-subtitle{text-align:center}.tdi_51:after{margin-left:auto;margin-right:auto;width:30%;background:var(–mm-custom-color-4)}.tdi_51{color:var(–mm-custom-color-1);font-family:var(–global-1)!important;font-size:56px!important}.tdi_51:hover:after{width:60%}Datenschutzerklärung

Dadurch erhalten auch rechtliche Texte wie meine Datenschutzerklärung unerwünschte Formatierungen (z. B. Linien unter den Überschriften, veränderte Textausrichtung, falsche Schriftgrößen).

Meine Fragen:

Warum werden diese Styles immer wieder automatisch eingebunden, selbst wenn ich eigene Formatierungen setze?

Gibt es eine Möglichkeit, diese globalen Stile für bestimmte Seiten (z. B. Datenschutzerklärung) zu deaktivieren?

Kann man die automatische Anwendung der Klasse .tdm_block_column_title_simplified_2 generell abschalten?

Vielen Dank im Voraus für Ihre Unterstützung.

Mit freundlichen Grüßen

Post count: 20688

Hi,

Normally each element has its own default CSS, which is replaced if the element is customized in the composer. However, it’s strange that CSS used by the column title element affects other headings. The CSS is applied via a unique class, not targeting headings. Like in the code you provided, the unique class is .tdi_51, and unless this class is set on a heading then the CSS should not apply to it.

Could you provide a link to where I can see this issue? If you can’t provide a link in the forum, please send us an email at contact@tagdiv.com and we can continue there.

Let me know.

Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.