![]() |
That's fine! Thanks Kyttias!
|
Kyttias, is there a way to create Subfolders in the Theme "dropdown?" So that we can have say...
themes -->Default themes ----->The list of default bootstrap themes -->Theme list 2 ------>Themes within list 2. And so on? |
A Google search says yes, since it pointed me to this: http://bootsnipp.com/snippets/featur...pdown-menu-bs3
The theme changer dropdown is dynamically appended to the end of the navigation menu with javascript in themeswitcher-kyt.js. You would need to add the css from the link above to your stylesheet and then manually modify line 12, which won't be easy, for three reasons: 1) It has to stay on one line or the read out of it will break. 2) Slashes in closing tags must be backslashed. 3) Quotes must be backslashed. Then you need to follow the instructions in the commented out are half way through the file. Basically, the links to themes are not true links, since javascript needs to be used to swap out the css files. Add a custom class to the theme you added to the list, then copy and paste out the code provided in the commented section of the file to below it so it's no longer in the comment zone, and make sure the class name from the list and the snippet of code that will swap out the css when clicked are the same. - disclaimer: This is really something only meant for developers who know what they're doing and the theme changer should honestly be removed from any active, published website. If you just want to see what a different set of colors look like, I really recommend just changing what file you're linking to in your theme's header. |
Thank you! ^__^;; I guess I wont do that then
|
how to solve this error? https://659c2828-a-62cb3a1a-s-sites....lipboard01.png
|
Make sure you follow all the installation steps carefully. It's very easy to accidentally tell the AdminCP to overwrite the theme files with blank contents. I think that may be what's happening. Otherwise, I think the url looks wrong. I don't believe 'index' should be in there??? That, and, this is important: Make sure the theme name is the same everywhere. Capitalization is important. I suggest NOT capitalizing any of it. Not the folder name, not the theme name, not during installing, not at all. That could also be the cause of the problem. It might be looking for "Bootstrap" but you don't have "Bootstrap" you have "bootstrap".
|
This is wonderful! Your tutorial explains things very well! Bravo!
|
THANK YOU!
Thank you so much for taking the time to offer this. It works perfectly!
|
Wow Amazing.
Thanks |
This is amazing, I am loving it! Thank you so very very much!!
I am having a little trouble with my custom theme made on StyleBootstrap.info, though.... I'm wondering if I messed up somewhere. It shows the link in the theme changer, but when I click my custom theme, all the styling goes poof. Here is my edited themeswitcher kyt: Quote:
Quote:
Also, I've noticed that with the built-in styles, it always loads the page without the style for a split second before loading the style. Is there any way to fix that? |
Do not use the theme switcher for a live site.
Do not use the theme switcher on a live site. Do not use the theme switcher on a live site. It exists merely as a tool to preview different Bootstrap themes on your website. I shouldn't have to explain why this is a bad idea. Things shouldn't flicker if you don't use it. Things flicker because it loads the default css first, then whatever one is selected on the switcher. On every. Single. Page. Load. Don't use it, it's for preview decisions only! If you were wanting to use a different Bootstrap color theme, then you'll want to change the link to the Bootstrap css file in header.tpl. It's this line: Code:
<!-- / / / / / / / / / BOOTSTRAP 3 --> Either change it to file hosted on a CDN (this link should have all the ones from the theme switcher and maybe more): Code:
<!-- / / / / / / / / / BOOTSTRAP 3 USING "SANDSTONE" --> Code:
<!-- / / / / / / / / / BOOTSTRAP 3 USING YOUR OWN BOOTSTRAP--> It should look like this: PHP Code:
PHP Code:
And, in the end, I can only say this: DON'T USE THE THEME SWITCHER ON A LIVE SITE. Mostly because of the flickering issue. -- To be honest, the real reason I'm dropping support for the theme switcher is because the directions just aren't clear for adding custom code. I don't think you're doing anything particularly wrong, just that the code is being told "if the user clicks on an element with a class of wubbie..." but none of the html you added has a class of wubbie. None of the examples have a class name that corresponds with their theme name, but then again, they didn't need one when I made the theme switcher. I'm not active enough to pinpoint the exact problem, and instead I provided alternatives that don't use the theme switcher. Maybe this could work, but maybe it just won't: Code:
<li><a href="#" class="wubbie" rel="wubbie"><i class="icon-fixed-width icon-pencil"><\/i> Wubbie Forest <\/a><\/li> |
the download is no longer working.....
|
This one??? https://sta.sh/0ny9dwq3t9o It is for me????
edit: Stash is hosted through deviantArt and, tbh, their service has been buggy all month. I think they're having hosting issues. My best answer right now is to try later, unfortunately. |
WOW, very responsive.
and well detailed instructions. thanks |
Uhnd12jsxcvsdf
|
|
All times are GMT -5. The time now is 01:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.