Actions

Difference between revisions of "Template style"

From Joomla! Documentation

(Created landing page from Chunk:Template style)
 
m (removing righttoc)
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Chunk:Template style}}
 
{{Chunk:Template style}}
 
 
== Assigning template styles to menu items under Template Manager ==
 
== Assigning template styles to menu items under Template Manager ==
  
Go to '''Extensions''' > '''Template Manager''', choose a template style by checking the box to the left of its name and then click on the '''Edit''' button. Alternatively, simply click the name of the template style to edit it.
+
{{#lsth:J{{CurrentSTSVer|minor}}:Switching templates|Assigning more than one template for the Front-end}}
 
+
On the '''Edit Style''' screen, check the menu items that should display the chosen template style and click on the '''Save''' button.
+
 
+
Go to the fronted of your website and refresh the page to view the modifications.
+
 
+
[[File:02_template-manager_editing-styles.png|thumb|800px|center|alt=The image on the left shows the Getting Started page displaying the Beez2 template style. The image on the center shows the Atomic template style being assigned to the Getting Started menu item. The image on the right shows the Getting Started page now with Atomic template style.|The image on the left shows the Getting Started page displaying the Beez2 template style. The image on the center shows the Atomic template style being assigned to the Getting Started menu item. The image on the right shows the Getting Started page now with Atomic template style.]]
+
 
+
 
+
== Applying template styles to menu items under Menus ==
+
 
+
Go to  '''Menus''' > '''Menu Name''', choose a menu item by checking the box to the left of its name and then click on the '''Edit''' button. Alternatively, simply click the name of the menu item to edit it.
+
 
+
On the '''Edit Menu Item''' screen, in '''Template Style''', choose the desired template style and click on the '''Save''' button.
+
 
+
Go to the fronted of your website and refresh the page to view the modifications.
+
  
[[File:03_menu-manager_edit-menu-item.png|thumb|640px|center|alt=Atomic template style being applied to the Getting Started Menu item.|Atomic template style being applied to the Getting Started Menu item.]]
+
<noinclude>[[Category:Landing Pages]][[Category:Glossary]][[Category:Templates]][[Category:Template Management]]</noinclude>
<noinclude>[[Category:Landing Pages]][[Category:Glossary]]</noinclude>
+

Revision as of 15:24, 1 July 2013

<translate> Template style is a feature introduced in Joomla 2.5 that allows users to assign different template styles to individual menu items. By default, Joomla! assigns a template style to all menu items upon installation. A yellow star indicates the default template style in use. A default template style can be partially or completely overridden by assigning different template styles to the desired menu items in order to obtain a different look for their respective pages.

A template style can be assigned to menu items one of two ways.

  • Template manager Extensions  Template Manager
  • Editing a menu item under Menus  Menu Name  Menu item

</translate>

Assigning template styles to menu items under Template Manager