Hello -
We've developed a store locator that ties into the Affiliates functionality and created a new ASPX and codebehind page that sits inside a subfolder of the website. We are using the OneColumn.master page which inherits Base.master. However, the theme that is getting applied to that page is not the theme used for the rest of the website.
Do we have to configure something else to get the site theme to apply to custom ASPX pages? Or should we move our logic into a control and create the webpages in admin and pull in that control?
Thanks!
Greg
Custom Pages & Theming
-
- Commander (CMDR)
- Posts: 129
- Joined: Thu Oct 19, 2006 5:33 pm
-
- Commander (CMDR)
- Posts: 129
- Joined: Thu Oct 19, 2006 5:33 pm
Re: Custom Pages & Theming
Found the solution - in the web.config, there is a line that looks like this:
Simply change that to your theme and pages will now inherit the proper theme.
Code: Select all
<pages theme="Wireframe" enableEventValidation="false" validateRequest="false" clientIDMode="AutoID">
Re: Custom Pages & Theming
Hello Greg,
Also, if you want to change the theme on a specific aspx page, just add the Theme="" with you specified theme to the top of the page on the same line as where you declare that it inherits the layout page.
Also, if you want to change the theme on a specific aspx page, just add the Theme="" with you specified theme to the top of the page on the same line as where you declare that it inherits the layout page.
Ryan A.
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3