- Posts: 26
- Thank you received: 0
User 5 buttons
-
tulio
Inactive member - Topic Author
- Member
Less
More
13 years 3 weeks ago #12615
by tulio
User 5 buttons was created by tulio
HI there,
When I change the content of the title of a button in user 5 position in gets out of range the images and button. It shouldn't change the size if it is predefined. Please check: www.sobef.com "Free shipping inside USA" button, a space is in the right side of the button that doesn't complete the size of the space.
I went to buttons module and didn't find a way to fix this. So if I change even the language it comes out of range also.
How to fix this in order that any phrase written in these buttons maintains the appearance and width of module user 5 and don't get a mess automatic.
Thanks,
Tulio
When I change the content of the title of a button in user 5 position in gets out of range the images and button. It shouldn't change the size if it is predefined. Please check: www.sobef.com "Free shipping inside USA" button, a space is in the right side of the button that doesn't complete the size of the space.
I went to buttons module and didn't find a way to fix this. So if I change even the language it comes out of range also.
How to fix this in order that any phrase written in these buttons maintains the appearance and width of module user 5 and don't get a mess automatic.
Thanks,
Tulio
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 3 weeks ago #12632
by ivan.milic
Replied by ivan.milic on topic Re: User 5 buttons
Youu have to then make font smaller so in any language content will not be too wide:
in template_css.css:
#content_gradient_home .bottom .custom_buttons ul li a {
display: block;
color: #6A675B;
font-family: 'LeagueGothicRegular', Arial, Helvetica, sans-serif;
font-size: 25px;
font-weight: normal;
text-transform: uppercase;
padding: 15px 60px 0 67px;
text-decoration: none;
background: url(../images/button_right.jpg) no-repeat right top;
height: 53px;
}
in template_css.css:
#content_gradient_home .bottom .custom_buttons ul li a {
display: block;
color: #6A675B;
font-family: 'LeagueGothicRegular', Arial, Helvetica, sans-serif;
font-size: 25px;
font-weight: normal;
text-transform: uppercase;
padding: 15px 60px 0 67px;
text-decoration: none;
background: url(../images/button_right.jpg) no-repeat right top;
height: 53px;
}
Please Log in to join the conversation.
-
tulio
Inactive member - Topic Author
- Member
Less
More
- Posts: 26
- Thank you received: 0
13 years 3 weeks ago #12643
by tulio
Replied by tulio on topic Re: User 5 buttons
Hi Ivan, thanks for your reply.
I did that but as you can see it doesn't align the spaces of the buttons correctly. It should fill the spaces automatic so it keeps the design.
Thanks,
Tulio
I did that but as you can see it doesn't align the spaces of the buttons correctly. It should fill the spaces automatic so it keeps the design.
Thanks,
Tulio
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 3 weeks ago #12664
by ivan.milic
Replied by ivan.milic on topic Re: User 5 buttons
In template_css.css
in:
#content_gradient_home .bottom .custom_buttons li {
float: left;
list-style: none;
background: url(../images/button_left.jpg) no-repeat;
height: 53px;
margin: 1px 0 0 10px;
}
add this two:
width: 307px;
text-align: center;
then in:
#content_gradient_home .bottom .custom_buttons ul li a {
display: block;
color: #6A675B;
font-family: 'LeagueGothicRegular', Arial, Helvetica, sans-serif;
font-size: 20px;
font-weight: normal;
text-transform: uppercase;
padding: 15px 60px 0 67px;
text-decoration: none;
background: url(../images/button_right.jpg) no-repeat right top;
height: 53px;
}
change padding to padding: 15px 0;
in:
#content_gradient_home .bottom .custom_buttons li {
float: left;
list-style: none;
background: url(../images/button_left.jpg) no-repeat;
height: 53px;
margin: 1px 0 0 10px;
}
add this two:
width: 307px;
text-align: center;
then in:
#content_gradient_home .bottom .custom_buttons ul li a {
display: block;
color: #6A675B;
font-family: 'LeagueGothicRegular', Arial, Helvetica, sans-serif;
font-size: 20px;
font-weight: normal;
text-transform: uppercase;
padding: 15px 60px 0 67px;
text-decoration: none;
background: url(../images/button_right.jpg) no-repeat right top;
height: 53px;
}
change padding to padding: 15px 0;
The following user(s) said Thank You: tulio
Please Log in to join the conversation.
Time to create page: 0.254 seconds