Align menu right, inline with logo

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Aug 06, 2014 12:54 pm
Reply with quote
Report this post
I'm trying to align the menu to the right hand side, inline with the logo, which I've successfully done.

However, the usermenu and cart links are sitting to the left of the menu, and I can't get them to align all the way to the right.

I've tried playing with padding, margins, div heights, everything. I just can't get those links to sit above the main menu on the right.

Image

Any ideas?
User avatar
Fresh Boarder

GK User
Wed Aug 06, 2014 2:28 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Wed Aug 06, 2014 4:00 pm
Reply with quote
Report this post
PM sent with link as my site's still in development.
User avatar
Fresh Boarder

GK User
Wed Aug 06, 2014 5:34 pm
Reply with quote
Report this post
Please edit: /templates/gk_shop_and_buy/css/override.css and add at its end:
Code: Select all
#gkHeaderNav {
    position: relative;
}

#btnCart {
    position: absolute;
    top: 20px;
    right: 16px;
}

#gkTopMenu {
    position: absolute;
    top: 20px;
    right: 88px
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Fri Aug 08, 2014 1:55 pm
Reply with quote
Report this post
Perfect! That did the trick.

I also did an over-ride for the user menu, but set it at 90px so it doesn't overlap the cart.

Image

Cheers!
User avatar
Fresh Boarder

GK User
Mon Aug 11, 2014 3:53 pm
Reply with quote
Report this post
Is there anything else I can help you with regarding this topic?
User avatar
Moderator


cron