-
AuthorPosts
-
July 10, 2012 at 12:49 pm #178963
Here’s an image describing what the problem is. We’d like to know how to code the justification of the menu buttons to all line up. As you can see, the secondary categories line up with the button graphic and not the txt.
Any help will be great
Thanks
Darren
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
July 10, 2012 at 3:19 pm #460480<em>@dnasport 329458 wrote:</em><blockquote>
Here’s an image describing what the problem is. We’d like to know how to code the justification of the menu buttons to all line up. As you can see, the secondary categories line up with the button graphic and not the txt.
Any help will be great
Thanks
Darren</blockquote>
You can try adding this code to the bottom of your template.css – it will style them like the other buttons and you only see them obviously when the parent menü item is clicked.
.jshop_menu_level_1 a {background: url(../images/pattern-red.gif) #CF1F18 < use one to match your theme
color: white;
font-weight: bold;
display: inline-block;
padding: 2px 25px 2px 15px;
text-decoration: none;
text-shadow: 1px 1px 0px #BF2E2D
border-radius: 10px;
-webkit-border-radius: 10px;
margin-bottom: 8px;
overflow: hidden;
}Or you can just add some left padding or a margin!! :p
July 10, 2012 at 4:27 pm #460487Works gr8 thanks!
D
July 10, 2012 at 5:01 pm #460490swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
July 10, 2012 at 6:39 pm #460494<em>@dnasport 329482 wrote:</em><blockquote>Just noticed this, is htere an easy way to fix?
</blockquote>
You’ll need to drop me a url to see!! 🙂
July 10, 2012 at 6:45 pm #460495No problem, here’s an example
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
July 10, 2012 at 7:13 pm #460499<em>@dnasport 329491 wrote:</em><blockquote>No problem, here’s an example
http://dnasport.us/index.php?option=com_jshopping&controller=category&task=view&category_id=102&Itemid=508</blockquote>
Can you set optimise css to NO in template manager please – otherwise I can’t see the real css just the compressed one.
Merci!
July 10, 2012 at 7:35 pm #460501ok, done thanks
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
July 10, 2012 at 8:37 pm #460503Try adding this code at the end and see if it brings in how you want – all aligned to sit under the parent category heading. Or am I assuming too much!! :p
.jshop_menu_level_1_a {background: url(../images/pattern-red.gif) #CF1F18
color: white;
font-weight: bold;
display: inline-block;
padding: 2px 25px 2px 15px;
text-decoration: none;
text-shadow: 1px 1px 0px #BF2E2D
border-radius: 10px;
-webkit-border-radius: 10px;
margin-bottom: 8px;
overflow: hidden;
}
.jshop_menu_level_2 {
background: url(../images/pattern-red.gif) #CF1F18
color: white;
font-weight: bold;
display: inline-block;
padding: 2px 25px 2px 15px;
text-decoration: none;
text-shadow: 1px 1px 0px #BF2E2D
border-radius: 10px;
-webkit-border-radius: 10px;
margin-bottom: 8px;
overflow: hidden;
}
Hope that works for you.
July 13, 2012 at 2:40 pm #460840Will try, again… thanks for all of your help
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 2 voices, and was last updated by Darren Scott 12 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum