Expand my Community achievements bar.

SOLVED

Removing default theme

Avatar

Level 4

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!

1 Accepted Solution

Avatar

Correct answer by
Level 4

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

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.

Avatar

Level 10

Thxs for posting the solution here!