|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
Hi Sorry to be a pain,
I have searched your forum and couldnt find an answer to help me.
Currently my banner does not stretch across the width of the website, how can I change the menu width please?
I need it at 825px
Many Thanks
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
sorry i meant menu not banner 
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
You ca give the outer div (customenu_default or customenu_mystyle or whatever) a fixed width and background. If you want the buttons to stretch as well, you'll have to give them fixed widths.
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
Hi Admin,
Thanks for the fast reply, I have been trying this, but cant figure out what Im doing wrong, i would appreciate it if you can correct my code here:
div.customenu_default { width: 825px } div.customenu_default, div.customenu_default a, div.customenu_default span { margin: 0px; padding: 0px; } div.customenu_default a span span { float: left; height: 28px; /* height - padding */ padding: 6px 10px 0px 10px; width: 100%; /* for fixed widths */ text-align: center; cursor: pointer; border-right: 1px solid #000000; }
Many Thanks for your time.
Tobes
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
te width: 100% will make all buttons 825px wide.
I don't think you'll want this.
Can you give me an online example...
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
yes, heres the link
for now I have removed the 100% width, heres the code I have now.
div.customenu_default { width: 825px; } div.customenu_default, div.customenu_default a, div.customenu_default span { margin: 0px; padding: 0px; } div.customenu_default a span span { float: left; height: 28px; /* height - padding */ padding: 6px 10px 0px 10px; /* width: 250px; */ /* for fixed widths */ text-align: center; cursor: pointer; border-right: 1px solid #000000; }
Thanks for your time.
Tobes
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
Try width: 825px; instead of percentage.
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
That made all my buttons 825px have a look
div.customenu_default { width: 825px; } div.customenu_default, div.customenu_default a, div.customenu_default span { margin: 0px; padding: 0px; } div.customenu_default a span span { float: left; height: 28px; /* height - padding */ padding: 6px 10px 0px 10px; width: 825px; /* for fixed widths */ text-align: center; cursor: pointer; border-right: 1px solid #000000; }
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
Sorry I think I posted without reading the rest of your post, you don't want the menu to stretch the whole width of the site
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
no i do want it to stretch across the mainbody
Many thanks for your time.
T
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
Well, unfortunately you can't do what you want with the spans setup.
That is only possible with tables and table cells that spread evenly. You can try to play around with the display property on the div.customenu_default a { }.
I think I will implement a choice to place the links in a table in next version.
Another way to get what you want is to set the width of every item to a fixed px width. This does however take the dynamic flavor off of the menu.
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
but i have seen this on other sites mentioned here, and you have done it also above, but your menu goes past the mainbody on both ends, I want mine to fit the website mainbody width, nothing too complicated.
I cant do a fixed width with each button as some buttons have more letters than others ie: "mission statement" and "news"
There is really no other way?
T
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
Well, the menu here on this sit is not full width. It's just a background image.
You can make your menu div 825px and give it a background image.
But the menu buttons will then not fill out to the end of the area.
In other words, you'll still get a bit of 'no button' space at the end.
My menu has that too, so much space it can fit a Donate button
So all you have to do is:
div.customenu_default { background:transparent url(../images/menu_button.png) repeat-x scroll left top; width: 825px; }
So you don't need widths on the buttons.
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
remove the float: left on your logo 
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
Thank you so much, that got me going in the right direction.
I changed the code to.
div.customenu_default { background:transparent url(../images/menu_button2.png) repeat-x scroll left bott om; width: 825px; }
the original menu button was larger than my menu, so I created a new button that fitted correctly.
Thank you so much.
Im off to the donate button right now
Have a great day.
Tobes
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
You can leave it to left top
if you remove the float from the logo
then the menu will appear under your logo by itself.
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
Thanks for all your help.
that worked perfectly, site looks great, I hope this thread can help others.
Have a good day
Tobes
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
Im sorry to return, i noticed the menu image doesnt show up on FireFox PC.
http://www.resalesinbansko.com/site/
any ideas why not.
Many thanks
Tobes
|
|
|
|
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
Looks fine on FF3 on PC...
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
[SOLVED] Menu full width 3 Years, 3 Months ago
|
|
|
Im using Firefox 2.0.0.17 and If i click check for updates, it doesnt seem to want to upgrade to V.3
strange
If FF v.3 isnt a forced upgrade, I wouldnt mind finding out why the image isnt showing for me, sorry to be a nuisance.
Tobes
|
|
|
|
|
|
|