Post by Rebecka » Wed Nov 30, 2011 1:37 am

I try to right-align the menu links on the menu bar but the menu bar disappears except for the tab that is on the right.

Is this wrong?

Code: Select all

#menu {
	float:right;
}
That's how I did it. :-\
Last edited by Rebecka on Wed Nov 30, 2011 2:24 am, edited 1 time in total.

Rebecka went over to PrestaShop.


Active Member

Posts

Joined
Sun Sep 18, 2011 4:49 am
Location - Sweden

Post by labeshops » Wed Nov 30, 2011 1:59 am

The #menu division is the bar itself. If you want to right align the text, look for the other parts of the code that specifies the text and align it. You would want to do a text-align: right; not a float.

Running Opencart v3.0.3.2 with multi-stores from https://www.labeshops.com which has links to all my stores.

Image


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by Rebecka » Wed Nov 30, 2011 2:24 am

Aha, I see.

This is how it should be

Code: Select all

#menu > ul > li {
float: right;
}
Thank you! :)

Rebecka went over to PrestaShop.


Active Member

Posts

Joined
Sun Sep 18, 2011 4:49 am
Location - Sweden

Post by dimko » Tue Mar 06, 2012 8:55 am

Rebecka wrote:Aha, I see.

This is how it should be

Code: Select all

#menu > ul > li {
float: right;
}
Thank you! :)
Tried this, but than it flips the order, i.e. the first category now is the last one, and the last one, now is the first :) Any ideas?

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am

Post by Vanderbilt80 » Tue Mar 06, 2012 9:41 am

ImageThe #menu division is the bar itself.

Newbie

Posts

Joined
Fri Mar 02, 2012 5:36 pm
Who is online

Users browsing this forum: No registered users and 7 guests