logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
ray22901031  
#1 Posted : Tuesday, April 21, 2020 8:38:10 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 826

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
Using version 9.0.2.6218

Move my custom CSS out of custom.css and into custom-rfl.css, I added the new theme.config file and restarted IIS, not working. What am I missing?

Thanks

<?xml version="1.0" encoding="utf-8"?>
<Theme>
<DisplayName>RFL-081119</DisplayName>
<Description>This is a Bootstrap theme based on the Responsive website design.</Description>
<StyleSheets>
<Include Path="Content/fonts.css" />
<Include Path="Content/font-awesome.min.css" />
<Include Path="Content/animate.css" />
<Include Path="Content/style.css" />
<Include Path="Content/color/dark-blue.css" />
<Include Path="Content/default.css" />
<Include Path="Content/skin.css" />
<Include Path="Content/custom.css" />
<Include Path="Content/custom-rfl.css" />
</StyleSheets>
<Scripts>
<Include Path="Scripts/bootstrap-hover-dropdown.min.js" />
<Include Path="Scripts/SmoothScroll.js" />
<Include Path="Scripts/custom.js" />
</Scripts>
</Theme>

Edited by user Tuesday, April 21, 2020 8:38:54 PM(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shari  
#2 Posted : Wednesday, April 22, 2020 3:24:29 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 703

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Please make sure you don't have _ThemeStyles.cshtml and _ThemeScripts.cshtml in ~/[Theme]/Views/Shared folder.

These were part of the legacy theme and if present they take priority over theme.config file.
ray22901031  
#3 Posted : Wednesday, April 22, 2020 5:40:33 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 826

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
Thanks - That was it. Working now.
Users browsing this topic
Similar Topics
Best way to debug theme.config? (Content Management System)
by Joe Payne2 7/30/2021 8:24:28 AM(UTC)
theme.config, _base.layout.cshtml and bundleconfig.cs (General Questions)
by Joe Payne2 7/21/2021 8:31:53 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.