The Joomla! Forum ™






Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Mar 02, 2012 4:36 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Mar 02, 2012 4:25 pm
Posts: 6
Hi
Where and with which command can i change my atomic template, so the every menu entry in the sidebar menu on the left side is in a separate row? You can see the problem on this page: http://aufgewacht.at
thx


Top
 Profile  
 
PostPosted: Tue Apr 24, 2012 8:24 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jan 19, 2012 6:12 pm
Posts: 33
This behavior is caused by the css line in /templates/atomic/css/blueprint/plugins/joomla-nav/screen.css,
list-style-type:none;
Code:
.joomla-nav li {
  float:left;
  line-height:1.5;
  list-style-type:none;
  margin:0 0.5em 0 0.5em;
  padding:0;
}


A simple solution is to add a Menu Class Suffix (e.g. "_myMenuStyle" )which will give your UL menu the style "joomla-nav_myMenuStyle" and allow you to apply your own, perfected CSS.


Top
 Profile  
 
PostPosted: Fri Mar 01, 2013 7:43 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 16, 2013 9:02 pm
Posts: 11
Its the float left isnt it? I've tried to override that by adding a class to the menu, and in a separate css document specify float none. All looks good in firefox but still menuitems en up on the same row. Something with the blueprint framework?


Top
 Profile  
 
PostPosted: Tue Mar 12, 2013 2:04 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 18, 2012 8:41 pm
Posts: 26
random12 wrote:
Its the float left isnt it? I've tried to override that by adding a class to the menu, and in a separate css document specify float none. All looks good in firefox but still menuitems en up on the same row. Something with the blueprint framework?


Make sure the last entry is your CSS document. The script is read from top to bottom you if your is last in the list it will override the others...

I am unclear if the idea here is to get a horizontal menu or a vertical. Please clarify.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group