Shopify themes, liquid, logos, and UX
Hi There,
I've been searching for a way to make my one image slideshow banner (doesn't rotate, just static image), show as full screen on my homepage. I've found code for other themes, but none for Minimal.
I tried using the below code in my theme.sccs.liquid but it actually made my whole page more narrow. Would love it if someone knew how to solve this without me having to change themes.
My website is: https://www.giclee-studios.com/
This is the code I tried:
.template-index .main-content {
max-width: 100%;
padding-left: 0;
padding-right: 0;
}
.template-index .main-content .shopify-section:not(.slider-section) {
max-width: 1060px;
margin: auto;
padding-left: 30px;
padding-right: 30px;
@media screen and (max-width: 479px){
padding-left: 15px;
padding-right: 15px;
}
}
Thanks!
sorry for this issue, yes please add this code
.template-index .main-content {max-width: 100%;padding: 0;}
Thanks Kumar, unfortunately, it is still not working. I adjusted the code to the below from your reply. but it broke the page.
.template-index .main-content {max-width: 100%;padding: 0;}
.template-index .main-content .shopify-section:not(.slider-section) {
max-width: 1060px;
margin: auto;
padding-left: 30px;
padding-right: 30px;
@media screen and (max-width: 479px){
padding-left: 15px;
padding-right: 15px;
}
}
-------------
If I just use the code you gave me (below), it makes my whole page completely widescreen to the edge of the page, which isn't what I want, I only want the slideshow header image to be completely wide
.template-index .main-content {max-width: 100%;padding: 0;}
I'd like the main image (below) width to be increased to go to the edge of the screen (where the red outlines are) and then the rest of my page and images stay the same (not be widened).
This main image should be wide to where the red is
this section below should stay the same (not be wide)
This is an example:
This is an example
Thankyou, I hope that makes sense.
it your common code whole page try again see view after code
.template-index .main-content {
margin-top: 0;
max-width: 100%;
padding: 0;
}
Hi Kumar, I understand the code works to widen the image - the header image looks great. The problem is I don't want it affecting the rest of the images on my webpage, now they are wide too which is incorrect. Have a look at the videos attached and please let me know how to apply this just to the main header image and not to the rest of the images on the page.
https://www.dropbox.com/sh/zrckudyju1yx0pg/AAAeJ41ZrjLWHUBUbPqbkL0Pa?dl=0
your store was common html code change code home need to required to backend code
Were you ever able to figure this out? I'm having the same issue.
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
I need it to do the exact thing the other person was asking for and it doesn't look like their question was fully resolved. I only want the main page slideshow images to be full width, the other images need to stay how they are.
my site is https://naked-city-clothing.myshopify.com/ and the password is Nakedcity3730
Thanks for update
please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.template-index main.wrapper.main-content {
max-width: 100%;
padding: 0;
overflow-x: hidden;
}
am hoping to only make the slideshow at the top fullpage, not the images below, is there any way to do that?
can you please issues image
You can go to https://naked-city-clothing.myshopify.com/ and the password is Nakedcity3730
I only want the slideshow image to be full width, not the images below.
Did you get your question answered. I found a solution. Not sure if it's correct, but it works.
thanks for update
The way I fixed this issue was adding this code to the end of the theme.scss.liquid file:
#flexslider--slider .slides__image, #flexslider--slider .slides svg {
height: 100% !important;
}
great thanks for update
how to do this for mobile only?
Hello, I'm also facing the same issue.
Any solution?
@KetanKumar Hello, any solution for this as I tried the above code but faced the same issue where its affecting the rest of the images on my webpage
User | RANK |
---|---|
153 | |
97 | |
71 | |
60 | |
49 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By