1. ahuppert
  2. Commercial Templates
  3. Friday, 25 October 2013
  4.  Subscribe via email
I am using Awaken's default hornav menu at the top of the template. The entire block is set to float RIGHT in the template.css, but I wanted to center it. Is this possible?

I have tried margin-right and margin-left set to AUTO, but it doesn't work. If I set the width to about 72%, it will center it, but I know this is not the correct way to go about it.

Any suggestions would help greatly!
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of your menu?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
http://www.crownsynthetics.com

I centered it by adding a margin-right, but I know there must be a better way to do it.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Another option would be to add the following to the end of your templates template.css...


#hornav {
display: table !important;
float: none !important;
margin: 0 auto !important;
padding-right: 0 !important;
width: auto !important;
}


You could try the above without the !important first.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!