Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In structure->block when I assign the Main menu to the menu bar, all element in the Main menu placed as vertical, but should the menu bar be horizontal?pls kind tell me how to solve it.
Comments
Comment #1
vvsuperman CreditAttribution: vvsuperman commentedI delete width:100% in navigation.css, then solve this problem. but other problem appeared
Comment #2
Hai Nguyen CreditAttribution: Hai Nguyen commentedYou can get the answer from this guide http://www.themebrain.com/guide/navigation-settings
Comment #3
vvsuperman CreditAttribution: vvsuperman commentedyes,I have solve the problem. But do you know how to arrange two superfish in a single menu bar
for example, I want to add and in the menu bar, but when I added the two, the menu bar like this:
menu1.1 menu1.2 menu1.3
menu2.1 menu2.2 menu2.3
But what I actually want is like that:
menu1.1 menu1.2 menu1.3 menu2.1 menu2.1|
do you know how to solve it?when I add css in the superfish, It does not seem to work.
Comment #4
jobnomade CreditAttribution: jobnomade commentedComment #5
themebrain CreditAttribution: themebrain commentedIt requires a little bit customization in css
Comment #6
eas_89 CreditAttribution: eas_89 commentedi have finally sorted this
On folder=> sites/all/themes/tb_purity/css/superfish/purity.css
There are two places to Add => float: left;
.sf-menu.sf-style-purity > li {
border-right: 1px solid #f6f7f8;
margin: 0;
padding: 0;
float: left; //add this
}
.sf-menu.sf-style-purity > li a {
color: #663300;
font-weight: bold;
padding: 15px;
text-decoration: none;
float: left; //add this
}