Black Screen Issue: Please update your theme to ensure WordPress 5.6 compatibility. Dentalia 2.1 and Recycle 2.1 are now available on ThemeForest. 

  Public Ticket #2663131


  • hippokrates started the conversation

    Dear Orions,

    I want to put in a small line on top of the template

    Should look like:

    .topzeile {font-family: PT Serif;
        font-size: 9px;
        line-height: 1.8rem;    
      font-weight: 400;
      color: #fff;
      background: #0089c5;

    But where do I have to put 


    in the template?

    Thanks Peter

  •  497
    OrionThemes replied

    Hi Peter,

    It depends on what are you trying to achieve. 

    I advise against making changes to the theme files directly because this will cause trouble with future theme updates.

    All custom CSS code can be added inside Theme Options - > Custom CSS. Other code customization should be done inside a child theme. 


    I hope this makes sense.

    If you need more help, please try to describe in detail which part of the theme do you want to customize and provide a link to your site, so we can assist you.

    Kind regards,


  • hippokrates replied

    Hi OrionThemes,

    sure, I put the css code already in the custom css code.

    But I did not know where to call it. 

    Should I put it in the page.php?

    I want it to be seen on each site.

    And where is the header html code?



  •  497
    OrionThemes replied

    Hi Peter,

    Can you explain with an example url or a screenshot, to help us understand, what kind of element are you trying to add and where would it display? 

    Dentalia theme has couple of options for adding elements, without the need to change any template files.

    1) There is optional Top Bar which displays above the header (can be enabled in Theme Options -> Header -> Top bar), you can add text there (in Appearance -> Widgets).
    You can add a text widget there then target it directly with the CSS. Instead of .topzeile class, you can use  .top-bar .textwidget: 

    .top-bar .textwidget {
     font-family: PT Serif;
     font-size: 9px;
     line-height: 1.8rem;    
     font-weight: 400;
     color: #fff;
     background: #0089c5; 

    2) If you prefer it to be below the header, then there is an option to put it in the Classic header widget area. On our demo this widget area is used for the contact data:


    3) There is also the banner area, but this one needs to be set on each page.

    4) If none of the above works for you, then you can still modify a template file, using a child theme. All the template files are in the dentalia/templates/ folder. If you can explain, where do you want to put this element and how it should look, then I can tell you exactly which template needs to be changed.

    I hope this helps,