Themes
A theme sets the colours, sizes and fonts of the tabs. You pick the theme where you show a group: in the menu item (Select Theme), the module (Theme) or the editor button window (Select Theme).
Themes that come with JoomTabs
Open Components > JoomTabs > Themes to see them.
| Theme | Kind |
|---|---|
| joomtabs-black, joomtabs-orange, joomtabs-green, joomtabs-blue | Solid themes with picture backgrounds. They cannot be edited. Their title is not a link in the list. |
| Deep Black, Happy Orange, Greenpoint, Bold Blue, Rounded Black, Arc Orange, Green and Black, Arc light blue, Lavender blue light, Light blue rounded, Simple | Editable themes. |
| Simple RTL | An editable theme with tabs from right to left, for right-to-left languages. |
The theme list also offers two choices that are not themes in the list:
- [default]: a plain built-in style.
- »RANDOM«: a different theme on each page load, chosen from the published themes that have Random set to Yes.
Edit a theme
- Click the title of an editable theme, or click New for an empty one.
- Type a Title. Use a title that no other theme has.
- Change the fields, described below.
- Set Status to Published and choose whether the theme takes part in Random.
- Click Save.
When you save, JoomTabs writes the theme's CSS file to components/com_joomtabs/assets/css/, named after the title with spaces turned into dashes. Pages that use the theme load that file. If a page asks for a theme whose file does not exist yet, JoomTabs writes it then.
In the module, the Edit theme link next to the theme list opens the chosen editable theme in a new browser tab.
Tabs
| Field | What it does |
|---|---|
| Tab's height | Height of a tab in pixels. |
| Tab's width | Width in pixels, or auto to fit the title. Tabs get narrower when they do not fit. |
| Tabs direction | left to right or right to left. |
| Tab border radius (top) and Tab border radius (bottom) | Rounded corners in pixels. |
| Tab's left-right padding | Space inside the tab beside the title, in pixels. |
| Tab space | Space between tabs, in pixels. |
| Tab separator style and Tab separator color | The line between tabs: solid, none, dotted, dashed, double, groove or ridge. |
| Tab text transform | none, capitalize, uppercase or lowercase. |
| Tab font size and Tab font family | Size in pixels and font name. inherit uses the font of your template. |
| Active tab color and Active tab title color | Background and text colour of the open tab. |
| Tab color and Tab title color | Background and text colour of the other tabs. |
| Tabs bottom line width and Tabs bottom line color | The line under the row of tabs. |
Tab content
| Field | What it does |
|---|---|
| Font size and Font family | The text inside the tabs. |
| Date font size | Size of the date under the title. |
| Article content color | Text colour of the content. |
| Image border radius | Rounded corners of article images. |
| Content border | Yes draws a border around the content. |
Panel
The panel is the title bar of an accordion item and of an article in a category tab.
| Field | What it does |
|---|---|
| Panel border radius, Panel font size, Panel font family | Shape and text of the bars. |
| Date color | Colour of the date in the bar. |
| Active panel color, Active panel title color, Active panel brdrs style, Active panel brdrs color | The bar of the open item. |
| Panel color, Panel title color, Panel borders style, Panel borders color | The bars of the closed items. |
Toggler
| Field | What it does |
|---|---|
| Toggler color and Active toggler color | The small open and close button at the end of a panel. |
| Toggler border radius | Its rounded corners. |
Colour fields open a colour picker when you click them.
Things to know
- Give every theme its own title. Two themes with the same title share one CSS file, so saving one changes the other. After Save as Copy, change the title of the copy and save it again.
- If you rename a theme, the CSS file with the old name stays in the folder. You can delete it.
- The folder
components/com_joomtabs/assets/cssmust be writable, or the CSS file cannot be written and the tabs show without their style. - Deleting a theme that a menu item or module still uses leaves that menu item or module without a working theme. Choose another theme there first.