index-corporate-3 Swiper slider with full image witdh

13 replies · opened May 2, 2020

DdavadutMay 2, 2020

Hello,

i just use the index-corporate-3 with swiper slider, but i just want to ask in mobile view or in smaller screen the default is cut off the image that i give, not the full image just like in desktop.

can i still give full image in my mobile display or smaller display?

if can where i can change the code?

and i have problem when i load the web for the firsttime is load to long... i already add (data-loader-timeout="5000") but still is long to view the web.

please help
thx

SSemicolon WebSTAFFMay 3, 2020

Hello,

By default, the Background Image is resized according to the Slider's Height. You can consider using the CSS Code below to make the Slider's Height according to your needs to what suits your Image best:

.device-sm #slider { height: 400px !important; }

.device-xs #slider { height: 300px !important; }

This will definitely work fine. The Responsive Classes are as follows:

.device-xl – Class for Large Devices >=1200px

.device-lg – Class for Medium Devices >=992px to 1199px

.device-md – Class for Tablets

.device-sm – Class for Landscape Mobiles or Phablets.

.device-xs – Class for Portrait Mobiles

You can add these Custom CSS codes in the css/custom.css File. Additionally, make sure that you have checked out the Documentation > Start > Customization Section for complete details on how to use the css/custom.css File.

The Slow Loading issue is almost never an issue with the Template but the Amount and Size of the Media Files or the Server Configurations and Speed. Please consider checking out the Documentation > Start > Optimization Tips Section and consider implementing the tips provided as these should definitely help speeding up your website.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

DdavadutMay 3, 2020

dear team canvas,

thanks for the replay, i just try the solution that you give me but still i my website slider dont srink to screen that open the web.
this is my link www.superbig.id/ao

the slider images is still not proper ajust to screen that open the website, itry on my Iphone x and my Ipad pro is still not ajust the images.

please help..

DdavadutMay 4, 2020

hello team canvas,

how about my problem, can any one from canvas team see the link that i give ?

best regards

SSemicolon WebSTAFFMay 4, 2020

Hello,

Thanks for your Patience! Allow us a maximum of 1 Business Day to reply to you.

Regarding you issue, we have checked out your Page and the issue is appears to be with the errors in your HTML Validation: https://validator.w3.org/nu/?doc=http%3A%2F%2Fsuperbig.id%2Fao%2F. Please consider fixing all the errors and if you are still facing an issue with the Slider Heights, please let us know. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

DdavadutMay 5, 2020

hi SemiColonWeb Team,

i already fix some error that you show to me, and the result is still the same.

any more idea why this is happen ?

thanks

DdavadutMay 5, 2020

hi SemiColonWeb Team,

i think i have to reset my css, to default because i think i made some changes in the main style.css directly.

i will try this first.

thank you for your help.

best regards
me

SSemicolon WebSTAFFMay 6, 2020

Hello,

Thanks for your Patience and more information about the issue.

We have checked your codes further and please consider following the points below:

  1. Since you are using a Custom Height for your Slider, remove the .full-screen Class from your #slider Element.

  2. Remove the occurrences of the following related Classes from the css/responsive.css File:


.swiper_wrapper:not(.force-full-screen),
.swiper_wrapper:not(.force-full-screen):not(.canvas-slider-grid) .swiper-slide

Now your Slider's Height should work as expected. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

DdavadutMay 6, 2020

hi SemiColonWeb Team,

i already try to create new website with default style.css and give custom css, but still no result fro the slider.

and i already try remove the

.swiper_wrapper:not(.force-full-screen),
.swiper_wrapper:not(.force-full-screen):not(.canvas-slider-grid) .swiper-slide

from css/responsive.css file

and still no result.

i have new link for new website that full with default style.css and custom.css

this is the link www.superbig.id/ao2

please help me about this slider.

best regards
me

SSemicolon WebSTAFFMay 6, 2020

Hello,

We have checked out your Website and now the Sliders are resizing properly according to the Responsive Heights set in your css/custom.css File:


/* Screen Size */
.device-xs #slider { height: 576px !important; }
.device-sm #slider { height: 400px !important;  } 
.device-md #slider { height: 768px !important;  }
.device-lg #slider { height: 992px !important; }
.device-xl #slider { height: 1200px !important;}

You can adjust these height according to your needs.

However, we found an error in your CSS:


.swiper_wrapper:not(.full-screen):not(.canvas-slider-grid),
/*.swiper_wrapper:not(.full-screen):not(.canvas-slider-grid) .swiper-slide { height: 400px !important; }*/

.sidebar-widgets-wrap {
	position: relative;
	margin: 0 -20px -40px -20px;
}

which is incorrect. Make sure that you completely delete/comment the above 2 lines as mentioned in our previous replies to you. Example:


/*.swiper_wrapper:not(.full-screen):not(.canvas-slider-grid),
.swiper_wrapper:not(.full-screen):not(.canvas-slider-grid) .swiper-slide { height: 400px !important; }*/

This should definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

DdavadutMay 6, 2020

Dear SemiColonWeb Team.

thank you for the solution that team give to me, is work but i have some problem to set all height of device that access my web.

because is so many device in my country, but i already set for ipad's and is work's fine still for android device like note 10+ i have dificult to set device height when on lanscape mode.

i have one more question, can i set default width?
maybe if i set the width is better.

best regards
me

SSemicolon WebSTAFFMay 7, 2020

Hello,

Currently, the Device Breakpoints are set according to the Bootstrap breakpoints which is very widely used and recommended. You can consider using Media Breakpoints like these for setting Custom Breakpoints for your Slider Heights:


@media (max-width: 991.98px) {
	/* Slider Codes */
}

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

DdavadutMay 8, 2020

Dear SemiColonWeb Team,

Thanks for the solution that team give to me, i try the solution but still i dont have the result that i expected.

or i had wrong in my code for this

@media (max-width: 991.98px) {
/* Slider Codes */
}

may be SemiColonWeb Team can give me one sample to this code?

thanks for your time and help

Best Regards
me

SSemicolon WebSTAFFMay 8, 2020

Hello,

Thanks for your Patience.

You will need to change the Media Query Value according to the Width of the Device in which you want to apply the Slider Heights. Please update the Live URL with the codes we had provided earlier, so that we can check and provide you with more assistance.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard