Removing default theme | Community
Skip to main content
November 28, 2017
Solved

Removing default theme

  • November 28, 2017
  • 2 replies
  • 1235 views

Hi all!

I'm trying to set up a webform with a custom theme. However, my theme at the top of the code gets overwritten by default themes.

<div id="fdtheme-id-clientlibs">

            <link rel="stylesheet" href="https://forums.adobe.com/etc/clientlibs/fd/af/guidetheme2/default.css" type="text/css">

</div>

This seems to be pulled in by the <guide:includeGuideContainer/> referencing /libs/fd/af/components/guideContainer/includeTheme.jsp.

Is there a fast and easy way to not use the includeTheme.jsp?  Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by baronforo

Found the issue.

A fallbackLibrary.jsp was created with the following code:

<%

    slingRequest.setAttribute(GuideConstants.PAGE_FALLBACK_CLIENTLIB_CATEGORY, GuideConstants.THEME_DEFAULT_CLIENTLIB);

%>

That was bringing in the extra theme data.

2 replies

baronforoAuthorAccepted solution
November 29, 2017

Found the issue.

A fallbackLibrary.jsp was created with the following code:

<%

    slingRequest.setAttribute(GuideConstants.PAGE_FALLBACK_CLIENTLIB_CATEGORY, GuideConstants.THEME_DEFAULT_CLIENTLIB);

%>

That was bringing in the extra theme data.

smacdonald2008
November 29, 2017

Thxs for posting the solution here!