is there a way to have one template look for the homepage - and a different template look for the rest of the site. For example - a red background for the homepage and the rest of the pages with a blue background.
Thanks in advance.
is there a way to have one template look for the homepage - and a different template look for the rest of the site. For example - a red background for the homepage and the rest of the pages with a blue background.
Thanks in advance. caredesign.net |
you can just edit css templates/base/css/index.css or template/yourtemplate/css/index.css and play around in that area "Your future is created by what you do today, not tomorrow." @ www.dexpertz.net |
Also page_1.html i think as well. You can add some extra html there if needed.... and of course index.php https://dolphin-techs.com - Skype: Dolphin Techs |
i was just using the background as an example - but the same thought would apply to designboxes and everything else as well. I ask this question because it was brought up that Joomla has this capability. caredesign.net |
Joomla has this capability.
Are we Joomla now? ManOfTeal.COM a Proud UNA site, six years running strong! |
As noted above, you can probably override the default designbox style with index.css as well. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
@Newton - Joomla was mentioned as a replacement for Dolphin. I would love to stick with Dolphin, but if it comes to a point where Joomla offers a better functionality for our project than Dolphin does, then - albeit not my decision - I may have to redo this project using Joomla. So, in my efforts to keep using Dolphin, I am trying to make sure Dolphin can deliver more than Joomla can.
@Nathan - OK, cool - just checking
Thanks caredesign.net |
Some people have been using my head injections mod to embed <style> tags onto pages to override the bodys background images and colors for specific pages. https://www.deanbassett.com |
Dean makes the head injection module that I use for such purposes. Uh, yes Newton, I recall your comment about modules and core The head injection module works off of the page title; so any page with a unique title can have an injection. You can use it to add both javascript as well as CSS to any page with a unique title. Therefore, you can override the CSS to have a different look for each page or add a javascript function that you only wish to be applied to a particular page. Edit: Dean answered while I was typing Geeks, making the world a better place |
Thank you for that explaination GG - that makes things a lot easier. I was sitting here wondering what the heck I would have to do, but you made things clearer for me. Thanks also Deanos - I will check out your module and play with it tonight. caredesign.net |
I am revisiting this topic for a lil extra assistance. My goal is as follows: I have found a template that I really like, but for the purposes of our site, this template would not be sufficient on certain pages. So, is it possible to keep the top section of the site on the home page only (the section with the search, profile link, account link, and avatar image). All subsequent pages would be without this top section. caredesign.net |
Yes. https://www.deanbassett.com |
Oh, wait, i got that backwords. You want the index only to have them. https://www.deanbassett.com |
Maybe I didn't explain myself properly. As it stands right now - the custom template I have (which is simply edits of the base uni template) has no top section (see image no-top.png). Instead, I would like for the home page to include the top section (see image with-top.png) and the rest of the pages to look like the no-top.png image. caredesign.net |
lol - i thought i had something backwards, so posted a clarification, then refreshed and saw your new post. More clarification - I used the css files to remove the top section, by using the display: none for the sections i wanted to hide. With your solution, I have to unhide them? caredesign.net |
The procedure would be the same. https://www.deanbassett.com |
i was saying that I didnt remove anything from the _header or any other pages, instead i put: div.sys_main_logo { in my general.css file for my new template. I have removed this to reveal the top section again, and will now do your instructions. Thanks for the help. EDIT: Works like a charm - you are a godsend deanos. Thanks again. caredesign.net |
Oh. you did not say that. https://www.deanbassett.com |
Oh. https://www.deanbassett.com |
Oh. No, someone visiting might get some use from them. Geeks, making the world a better place |
Thanks Deano, this trick can help with initial page speed also by removing ads and other nonessentials off the first page before a visitor joins. Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net |