We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Essential ThemeStudio: which style to use for body-tag

Thread ID:

Created:

Updated:

Platform:

Replies:

123510 Mar 23,2016 04:45 PM UTC Mar 24,2016 11:43 AM UTC JavaScript 1
loading
Tags: General
Michael Baas
Asked On March 23, 2016 04:45 PM UTC

Hi,
I have set up a custom style for my page using the Essential Theme Studio. If I inspect Studio's page, the body-tag is defined as:
I assume this is not how I as a user should use the style I defined (especially because "darktheme" is not contained in the .css I downloaded), so which class should I assign to my body-tag to get the colour I defined in ETS?
Tx
Michael

Ajith R [Syncfusion]
Replied On March 24, 2016 11:43 AM UTC

Hi Michael,

Thanks for using Syncfusion products.

Essential Theme Studio can only be used to customize the themes of Syncfusion controls and it is not supported to customize web pages like body tag etc.  For user interaction purpose, we have set ‘darktheme’ class to the body tag from the application end when we select the dark themes option from theme list in the Theme Studio.

If you want to apply custom background theme like Theme Studio, then you can use custom styles with specific class name in your application to achieve your requirement. Please refer the below code snippet for further details.


<body class="darktheme">
    -------
    -------
</body>

<style>

    .darktheme{

        background-color: #111111;

    }
</style>


Please let us know if you have any further concerns.

Regards,
Ajith R

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;