dano2
Ecommerce Template Expert
USA
514 Posts Pre-sales questions only (More Details...)
|
Posted - 10/15/2018 : 16:50:35
Hi on my android phone the logo to my store looks right justified, is there any way to help make it more centered on a mobile device?
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/16/2018 : 00:15:43
|
dano2
Ecommerce Template Expert
USA
514 Posts Pre-sales questions only (More Details...)
|
Posted - 10/16/2018 : 16:45:06
Hi Andy, it didn't seem to work, here is the code,does it look correct? Could it also be that there are 2 other style.css files?
/*This is the fifth breakpoint and contains styles for screens 500px to 360px*/ @media screen and (max-width: 500px) { .col-4{text-align:center} .top_row .col-6 { width:100%;} .top_row .text-right { text-align:left; padding-top:10px;} .logo_row_right .topsearchWrap, .logo_row_right .phone_no { width:100%; padding-bottom:15px;} .logo_row_right .topsearchWrap { padding-bottom:0px;}
.product_details .col-6 { width:100%; padding-bottom:15px;}
Edited by - dano2 on 10/16/2018 17:02:01
|
Paradise
Ecommerce Template Guru
USA
1602 Posts Pre-sales questions only (More Details...)
|
Posted - 10/16/2018 : 21:59:15
You have three style.css files? There should only be one. You can modify the the css file and reload your page to see the results real-time.
Is there a closing }
Did you modify the othe style.css files to see if that helped?
Mark Responsive Design Deals Ecomm Plus - ASP 6.8 www.paradiseclothingco.com
Edited by - Paradise on 10/16/2018 22:01:56
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/16/2018 : 23:58:59
|
dano2
Ecommerce Template Expert
USA
514 Posts Pre-sales questions only (More Details...)
|
Posted - 10/17/2018 : 15:44:42
Hi guys, just to reiterate, this is for centering the logo (says SafetyProShop.com) so it looks centered on a mobile phone?
I deleted the other 2 style.css files then I checked the one in the CSS folder. I then uploaded the file in the CSS folder but it still didn't center the Logo.
Here is how the code it looks right now:
.services_row .col-4, .ft_row1 .col-2, .ft_row1 .col-4, .ft_row1 .col-3 { width:100%; padding-bottom:20px;}
}
/*This is the fifth breakpoint and contains styles for screens 500px to 360px*/ @media screen and (max-width: 500px) { .col-4{text-align:center} .top_row .col-6 { width:100%;} .top_row .text-right { text-align:left; padding-top:10px;} .logo_row_right .topsearchWrap, .logo_row_right .phone_no { width:100%; padding-bottom:15px;} .logo_row_right .topsearchWrap { padding-bottom:0px;}
.product_details .col-6 { width:100%; padding-bottom:15px;}
}
/*This is the last breakpoint and contains styles for screens below 360px*/ @media screen and (max-width: 360px) {
}
Edited by - dano2 on 10/17/2018 16:12:02
|
Paradise
Ecommerce Template Guru
USA
1602 Posts Pre-sales questions only (More Details...)
|
Posted - 10/17/2018 : 17:01:25
The logo looks perfect at 500px, try clearing your browser cache.
Mark Responsive Design Deals Ecomm Plus - ASP 6.8 www.paradiseclothingco.com
|
dano2
Ecommerce Template Expert
USA
514 Posts Pre-sales questions only (More Details...)
|
Posted - 10/17/2018 : 18:28:50
Hi Paradise, are you looking at our site on your cell phone? I just cleared cache on 2 of our phones and the logo is still right justified..
|
V45
Advanced Member
United Kingdom
416 Posts Pre-sales questions only (More Details...)
|
Posted - 10/17/2018 : 18:53:26
Hi dano2
Just had a look on my Android 8 handset and the logo is definitely over to the far right edge of the screen in portrait view.
Will - Bolton Manchester UK
|
dano2
Ecommerce Template Expert
USA
514 Posts Pre-sales questions only (More Details...)
|
Posted - 10/17/2018 : 20:37:22
thanks Will, yes, that is exactly what I'm seeing too. Not sure how to fix it though... will see if anyone can help.. thanks for checking and confirming what i see :)
Edited by - dano2 on 10/17/2018 20:38:33
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/18/2018 : 00:31:39
|
Paradise
Ecommerce Template Guru
USA
1602 Posts Pre-sales questions only (More Details...)
|
Posted - 10/18/2018 : 09:20:26
This looks like it will work on smaller screen sizes.
@media screen and (max-width: 500px) .col-4 { text-align: center; padding-left: 5px; }
Mark Responsive Design Deals Ecomm Plus - ASP 6.8 www.paradiseclothingco.com
|
dano2
Ecommerce Template Expert
USA
514 Posts Pre-sales questions only (More Details...)
|
Posted - 10/18/2018 : 14:55:18
Guys that worked, thanks so much Andy...
now on to more stuff :)
|
V45
Advanced Member
United Kingdom
416 Posts Pre-sales questions only (More Details...)
|
Posted - 10/18/2018 : 18:53:55
That's spot-on :-)
Will - Bolton Manchester UK
Edited by - V45 on 10/18/2018 18:54:27
|
dano2
Ecommerce Template Expert
USA
514 Posts Pre-sales questions only (More Details...)
|
Posted - 10/18/2018 : 20:55:37
yea looks good Will :) only thing is not sure if that affected the navigation button, its now pushed over the the left:(
Edited by - dano2 on 10/18/2018 20:56:46
|
Paradise
Ecommerce Template Guru
USA
1602 Posts Pre-sales questions only (More Details...)
|
Posted - 10/18/2018 : 21:35:50
What changes did you make?
Mark Responsive Design Deals Ecomm Plus - ASP 6.8 www.paradiseclothingco.com
|
jimhuang
Advanced Member
Taiwan
258 Posts |
Posted - 10/19/2018 : 01:12:39
Hi, Andy
In my style.css, there is no @media screen and (max-width: 500px) { There are original 1000px, 980px, 800px, 768px, 640px, 480px, 360px
Do I need to add 500px?
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/19/2018 : 01:26:51
|
|
|