Question T8903
Visible to All Users

Wrapping Page Title and Page description in one div for styling.

created 3 years ago (modified 3 years ago)

Hi,

I have applied custom css to my Page title and my Page description, however I can see they are separate elements in the HTML, a h4 and div.

I would like to combine them both into one "div" or container where they both live, being sticky at the top of the page. This works well for the page title as you can see from my screenshot, but how can I add the page description into this container? Is that possible? Thank you

Clipboard-File-1.png
Clipboard-File-2.png

Comments (2)

    Hello,

    Are you asking about SurveyJS Creator?

    Thanks, Serge
    SurveyJS Team

      Hi Serge,

      Sorry, this is the user view of the Survey. Not Survey Creator.

      Thanks

      Answers approved by surveyjs Support

      created 3 years ago

      Hello,

      In this case you can use the onAfterRenderPage event as shown in this example - https://surveyjs.io/Examples/Library?id=survey-afterrender

      Thanks, Serge
      SurveyJS Team

        Comments (1)

          Awesome thank you :) Reading this, looks like it could help!

          Regards