- Posts: 4
- Thank you received: 0
Top menu breaks apart when resizing browser window
-
kimboking
Inactive member - Topic Author
- New Member
Less
More
14 years 1 week ago - 14 years 1 week ago #3986
by kimboking
Top menu breaks apart when resizing browser window was created by kimboking
After changing the template width to 1075 in the Template Width under the Template Parameters and adding additional navigation links to the top menu (totaling , the top menu now collapses when resizing my browser Firefox browser window. Meaning... as I size the window down, the text to the links drop below the top menu background one by one as my window closes in on those links. see here:
twincountyhalloffame.com/fame/
How can i fix it so that the top menu remains unchanged as I resize my browser window?
How can i fix it so that the top menu remains unchanged as I resize my browser window?
Last edit: 14 years 1 week ago by kimboking. Reason: added link to site
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 1 week ago - 14 years 1 week ago #3995
by ivan.milic
Replied by ivan.milic on topic Re: Top menu breaks apart when resizing browser window
Hi,
Open file templates/hot_photoportfolio/css/layout.css and make following change:
.topmenu {
height:90px;
margin:0 auto;
overflow: hidden;
}
Open the file : /templates/hot_photoportfolio/css/template_css.css
And make following changes:
Add
#nav
{
width: 1075px;
}
,then change:
#nav li {
float:left;
position:relative;
margin:0 2px 0 0;
height:73px;
font-size:14px;
width:153px;
text-align:center;
}
to
#nav li {
float:left;
position:relative;
margin:0 2px 0 0;
height:73px;
font-size:14px;
width:12%;
text-align:center;
}
Open file templates/hot_photoportfolio/css/layout.css and make following change:
.topmenu {
height:90px;
margin:0 auto;
overflow: hidden;
}
Open the file : /templates/hot_photoportfolio/css/template_css.css
And make following changes:
Add
#nav
{
width: 1075px;
}
,then change:
#nav li {
float:left;
position:relative;
margin:0 2px 0 0;
height:73px;
font-size:14px;
width:153px;
text-align:center;
}
to
#nav li {
float:left;
position:relative;
margin:0 2px 0 0;
height:73px;
font-size:14px;
width:12%;
text-align:center;
}
Last edit: 14 years 1 week ago by ivan.milic.
Please Log in to join the conversation.
-
kimboking
Inactive member - Topic Author
- New Member
Less
More
- Posts: 4
- Thank you received: 0
14 years 1 week ago #4089
by kimboking
Replied by kimboking on topic Re: Top menu breaks apart when resizing browser window
thanks!
additionally, is there a way to keep the top menu navigation background (blue bar) static so that it does not appear to collapse as i resize the window now?
twincountyhalloffame.com/fame/
additionally, is there a way to keep the top menu navigation background (blue bar) static so that it does not appear to collapse as i resize the window now?
twincountyhalloffame.com/fame/
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 1 week ago #4099
by ivan.milic
Replied by ivan.milic on topic Re: Top menu breaks apart when resizing browser window
What do you meen by that?
Please Log in to join the conversation.
-
kimboking
Inactive member - Topic Author
- New Member
Less
More
- Posts: 4
- Thank you received: 0
14 years 6 days ago - 14 years 6 days ago #4120
by kimboking
Replied by kimboking on topic Re: Top menu breaks apart when resizing browser window
when i manually size my browser window down, it appears as though the background behind the main nav menu shrinks with the window, yet the menu items (words) remain static. is there a way to have the menu background appear static as well?
Last edit: 14 years 6 days ago by kimboking.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 6 days ago #4124
by ivan.milic
Replied by ivan.milic on topic Re: Top menu breaks apart when resizing browser window
Well you can add position:absolute; to .topmenu{... , but will probably you need to define top: and left: for it.
I'am allways glad to help but your questions are exceeding forum rules, plese avoid this kind of quiestion heare.
Kind Regards,
I'am allways glad to help but your questions are exceeding forum rules, plese avoid this kind of quiestion heare.
Kind Regards,
Please Log in to join the conversation.
Time to create page: 0.157 seconds