- This topic has 3 replies, 3 voices, and was last updated 7 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Onefold Pro › Size of slider images.
Tagged: size slider
Hi there, I am trying to change width and height of my homepage slider in OneFold Pro so that it doesn’t appear extremely large when it is on a large screen.
I tried to add this code into custom CSS, but nothing happened. Am I missing a step? Do I need to add somewhere else?
div#main-slider {
height: 400px !important;
width: 600px !important;
}
Hello @PineapplePR,
You can decrease the height of the slider to make it smaller for the larger devices.
However, we would like to recommend you use the proper media query and CSS targeted specifically for larger screens as the CSS you are trying will run across regardless the screen size that might hamper the responsive layout of the theme.
Please use the following custom CSS targeted for the larger screens only to decrease the height of the slider only in the desktop screens without impact on other devices in your Admin Dashboard > Appearance > Customize > Additional CSS :
@media only screen and (min-width: 1200px) {
div#featured-slider {
height: 400px!important;
}
#main-slider .cycle-caption {
bottom: 43%;
}
#main-slider .cycle-prev, #main-slider .cycle-next {
bottom: 42%
}
#main-slider .cycle-pager {
bottom: 41%
}
}
Hope this helps,
Best Regards !!
Can you please tell me what the recommended size is for the slider picture?
Hello @esthervoorpubliek-nl,
The Recommended size of image for the slider image as described in the “Featured Image” metabox in onefold pro theme is 1350px X 590px.
If you have any queries further, please feel free to post them here.
Hope this Helps,
Best Regards !!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |