additional div

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
muzhik92
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Jun 07, 2010 5:03 am

additional div

Post by muzhik92 » Sat Apr 04, 2015 11:31 am

good afternoon. including templates and can not figure out where are the extra lines of code when outputting module

output the module menu. and between the div with the module itself module and its heading there are three additional div. js turned off, the design of the module in the template is not overridden. in the template under the usual definition of the position of the modules

how do you know where they come from? I want to ask them to class.

when using other templates are none
You do not have the required permissions to view the files attached to this post.

 
User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27141
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: additional div

Post by Per Yngve Berg » Sat Apr 04, 2015 12:25 pm

It's called Module Chrome. It's come from the style="something" on the jdoc:include.

https://docs.joomla.org/Jdoc_statements
https://docs.joomla.org/What_is_module_chrome%3F
https://docs.joomla.org/Applying_custom_module_chrome


You can address the unclased divs with div.modulecool_menu div div {....}. This will address the second div after the clased one.
div.modulecool_menu > div {....}. This will address the fist level after the classed one.
http://www.w3schools.com/cssref/css_selectors.asp

 

Locked

Return to “Templates for Joomla! 2.5”