Loading...
Skip to main content
Home Page
About
Marketplace
Sample page
Wishlist at dev site
Sitemap (Categories)
Tiki Customization
Creating a theme
Converting a Bootstrap theme
Contributing, sharing or selling
Customizing icons
Tips
Template Tricks
CSS Tricks
Feature Examples
Articles
Blogs
Calendar
Forums
FAQs
Trackers
Files
Links Directory
Wiki Pages
Find
History: Add a Generic Bootstrap Stylesheet to the Themes Directory
View published page
Source of version: 5
(current)
Another way to make a new theme for a site, rather than linking to it from the Look and Feel admin page, is to add the theme's files to the ''themes'' directory in the file system. Create a new subdirectory in "themes" with the name of the new theme. The new theme's CSS file must havethis same name; place it (using a file transfer application, etc.) in its own subdirectory of the ''themes'' directory. The themes directory contains a subdirectory (folder) for each theme, which in turn contains at least a css directory (like ''themes/newtheme/css/newtheme.css''). This is a good choice if the theme has images, icons or other components. (See ((CSS Overview)) for more details.) The hierarchy for this is like * -+tiki root/+- ** -+themes/+- *** -+newtheme/+- - A new directory to contain the new theme (has the same name). **** -+css/+- - A CSS directory is necessary, to contain the style sheet file. ***** -+newtheme.css+- - Place the new CSS file (style sheet) here. **** -+fonts/+- - Fonts can go here rather than being fetched from an online source. **** -+icons/+- - For theme-specific icon sets. **** -+images/+- - Any background or border images, etc. can go here. **** -+templates/+- Any custom versions of Smarty template (.tpl) files needed for the theme. The stylesheet should be equivalent to a default bootstrap.css file appropriate for the Bootstrap version used by the site. This stylesheet could be made from scratch but that would be a daunting project due to all the CSS for responsive behavior, etc. Probably it would be better to use an automatic generator, etc. to produce at least the initial draft of the file. {include page="Custom Bootstrap stylesheet sources"} !! Limitations Because this generic Bootstrap stylesheet is made outside of Tiki, it has no awareness of some Tiki page elements, including those covered by the ''tiki_base.css'' file. So some adjustments will probably be needed after checking the appearance of the site using the theme. Similarly, "Bootstrap" stylesheets made for other web applications such as WordPress may be able to be used with Tiki but the HTML they were written for is likely to be quite different from Tiki's, so some modification will be necessary. We plan to test and document this in the near future. ~tc~ (alias(Add a Style Sheet to the Themes Directory)) ~/tc~
Layout
Stay on this page
Default
Single Container
Classic Bootstrap
Classic Tiki (3 containers - header, middle, footer)
Tikipedia
Latest Changes
Included themes
Bootstrap component sets
Materia
Ohia
Themes
Making or Updating a Theme for Tiki 27
Updating a Theme for Tiki 26
Tiki_org_family_customizations_CSS
BookStacked
Make an SCSS-Compiled Tiki Theme
...more
Subscribe to Tiki Newsletters!
Delivered fresh to your email inbox!
Don't miss major announcements and other big news!
Site Config
Site upgraded to branch 27x
Wed 24 of Apr, 2024 11:12 GMT-0000
Site upgraded to branch 26x
Wed 21 of Jun, 2023 09:45 GMT-0000
Site upgraded to branch 25x
Sat 12 of Nov, 2022 17:00 GMT-0000
Site upgraded to Tiki 23.x
Sat 24 of Jul, 2021 00:30 GMT-0000
Site upgraded to Tiki 20
Wed 29 of May, 2019 07:57 GMT-0000
We are now on Tiki 19.x
Fri 05 of Oct, 2018 10:02 GMT-0000
Shoutbox module removed
Thu 28 of Jun, 2018 07:01 GMT-0000
We are now on Tiki 18.x
Wed 02 of May, 2018 08:46 GMT-0000
Upgraded to Tiki 17.0
Wed 02 of Aug, 2017 08:19 GMT-0000