Categories

page class suffix

Lana Greene September 11, 2015
No votes yet.
Please wait...

Page Class Suffixis a parameter in Joomla! content menu items.

Page Class Suffixis set in a particular menu item under the “Page Display” tab.

A new page class suffix will cause Joomla! to either add a new CSS class or modify the existing CSS class for elements in the assigned to this menu item page layout.

You can use The Page Class Suffix parameter to create unique CSS classes that allow you to style one Menu Item differently than others.

When you create a page in Joomla!, predefined CSS classes are automatically created. This helps to set page styling.

To create a new class, enter the parameter with a leading space. For example, entering a space plus “myNewClass” will create a new CSS class called “myNewClass” and it will be inserted as a class for elements in that Menu Item.

You can use the new class name to add any desired styling to the page without needing to re-create all of the existing CSS code.

Note that, if you create a new class name, make sure it has a unique name and doesn’t conflict with any existing class names.

If you enter a Page Class Suffix with a leading space, a new CSS class will be created. If the parameter does not have a leading space, the CSS classes associated with this Menu Item will be modified.

The first method is normally preferred, since then you don’t break any of the existing styling for the page elements, and you only need to add new CSS code for the new styling.

If you don’t use a leading space, you will need to copy all of the styling code for the Menu Item classes and duplicate it for the new CSS class before making your CSS changes.

You can find more details about Page Class Suffix following this link.

Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket

Comments are closed.