- Posts: 14116
- Thank you received: 1639
bad starting page on smartphone
-
ivan.milic
Support Staff - Moderator
Less
More
10 years 7 months ago #36842
by ivan.milic
Replied by ivan.milic on topic bad starting page on smartphone
Code is not added?
Add all of rules:
@media screen and (max-width: 620px){
.cat-children > div {
width: 100%;
clear:both;
}
.cat-children > div IMG{
max-width:100%;
}
.items-row .item{
width: 100%;
clear:both;
}
.items-row .item IMG{
max-width:100%;
}
}
Add all of rules:
@media screen and (max-width: 620px){
.cat-children > div {
width: 100%;
clear:both;
}
.cat-children > div IMG{
max-width:100%;
}
.items-row .item{
width: 100%;
clear:both;
}
.items-row .item IMG{
max-width:100%;
}
}
Please Log in to join the conversation.
-
caland
Inactive member - Topic Author
- Member
Less
More
- Posts: 23
- Thank you received: 0
10 years 7 months ago #36843
by caland
Replied by caland on topic bad starting page on smartphone
now the code is updated
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 7 months ago #36851
by ivan.milic
Replied by ivan.milic on topic bad starting page on smartphone
Try this code:
@media screen and (max-width: 620px){
.cat-children > div {
width: 100%;
clear:both;
}
.cat-children > div IMG{
max-width:100%;
}
.items-row .item{
width: 100%!important;
clear:both;
}
.items-row .item IMG{
max-width:100%;
}
}
@media (max-width: 979px) and (min-width: 768px){
.items-row > .span4 {
width:33%!important;
}
}
@media screen and (max-width: 620px){
.cat-children > div {
width: 100%;
clear:both;
}
.cat-children > div IMG{
max-width:100%;
}
.items-row .item{
width: 100%!important;
clear:both;
}
.items-row .item IMG{
max-width:100%;
}
}
@media (max-width: 979px) and (min-width: 768px){
.items-row > .span4 {
width:33%!important;
}
}
Please Log in to join the conversation.
-
caland
Inactive member - Topic Author
- Member
Less
More
- Posts: 23
- Thank you received: 0
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 7 months ago #36871
by ivan.milic
Replied by ivan.milic on topic bad starting page on smartphone
Found it, open layout.css, find this:
.cat-children div {
float: left;
text-align: center;
width: 33%;
}
change that to:
.cat-children > div {
float: left;
text-align: center;
width: 33%;
}
.cat-children div {
float: left;
text-align: center;
width: 33%;
}
change that to:
.cat-children > div {
float: left;
text-align: center;
width: 33%;
}
Please Log in to join the conversation.
-
caland
Inactive member - Topic Author
- Member
Less
More
- Posts: 23
- Thank you received: 0
10 years 7 months ago - 10 years 7 months ago #36873
by caland
Replied by caland on topic bad starting page on smartphone
we are on the right way!
the pictures aren't even square on the smartphone but a little bit larger than before:
the pictures aren't even square on the smartphone but a little bit larger than before:
Last edit: 10 years 7 months ago by caland.
Please Log in to join the conversation.
Time to create page: 0.316 seconds