Home › Forums › Air WordPress Theme › Slider image air theme
- This topic has 20 replies, 2 voices, and was last updated 4 years, 4 months ago by
SeaTheme.
-
AuthorPosts
-
January 21, 2022 at 6:25 pm #26832
Hello, i have insert in home slider image portfolio
But not responsive in mobile and pc.
It’s possible reduce image? And center?
ThanksJanuary 22, 2022 at 4:59 am #26835Hi there,
Welcome to SeaTheme forum.Do you want to reduce the height of the image? Please paste the custom CSS code to “Appearance > Customize: Additional CSS”
@media (max-width: 768px) and (orientation: portrait) { .responsive-ux .top-slider .owl-carousel, .responsive-ux .top-slider:not(.top-slider-text), .responsive-ux .top-slider .carousel-img-wrap, .responsive-ux .top-slider .carousel-des-wrap { max-height: calc(40vh - 120px); } }
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJanuary 22, 2022 at 12:46 pm #26840hello, I don’t want to resize the slider, just the photo.
putting the photo in the picture in evidence, it zooms me and enlarges it and therefore you do not see everything.
the problem is in mobile and pc.
thanks
lorenzoJanuary 22, 2022 at 1:06 pm #26842Hi,
Do you mean that the photo should not be cropped?
Could you please leave your site URL, thanks!
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJanuary 22, 2022 at 6:30 pm #26847This reply has been marked as private.January 23, 2022 at 4:13 am #26849Hi,
I checked your website, most slider images are with 4:3 radio.
I am not sure if understood your question, please add the custom CSS if you don’t want the slider image cropped..top-slider .owl-carousel, .top-slider .carousel-img-wrap, .top-slider .carousel-des-wrap { height: 75vw; } @media (max-width: 768px) and (orientation: portrait) { .responsive-ux .top-slider .owl-carousel, .responsive-ux .top-slider:not(.top-slider-text), .responsive-ux .top-slider .carousel-img-wrap, .responsive-ux .top-slider .carousel-des-wrap { max-height: 75vw; } }If it is not what you want, please give more tips. Thanks
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJanuary 23, 2022 at 2:47 pm #26856This reply has been marked as private.January 24, 2022 at 1:52 am #26857Hi,
Yes, please edit the 3 lines of CSS:
.top-slider .owl-carousel, .top-slider .carousel-img-wrap, .top-slider .carousel-des-wrap { height: 75vw; }Like update it as 65:
.top-slider .owl-carousel, .top-slider .carousel-img-wrap, .top-slider .carousel-des-wrap { height: 65vw; }But it will crop the slider imagesb because the slider images are with 4:3 ratio, most PC screen ratios are around 16:9. Plz try to upload images of this size 1280×800 for slider if you do not want the images cropped.
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJanuary 24, 2022 at 8:30 pm #26858This reply has been marked as private.January 25, 2022 at 1:25 am #26860This reply has been marked as private.January 25, 2022 at 7:02 am #26861This reply has been marked as private.January 25, 2022 at 12:12 pm #26862Hi,
Could you give me more tips? Do you want to reduce the slider width or height?
Could you paste a slider UI image what you want(you can upload the image to Dropbox, and paste the dropbox URL)? Thanks!
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJanuary 25, 2022 at 6:42 pm #26865This reply has been marked as private.January 26, 2022 at 1:17 am #26867Hi, thanks for your screenshot, it is helpful. Please follow the 2 steps:
1. Please paste the custom CSS code to “Appearance > Customize: Additional CSS”:
.top-slider .ux-background-img { -webkit-background-size: contain; background-size: contain; } .top-slider { background-color: #000; }2. Remove the added custom CSS from “Appearance > Customize: Additional CSS”:
.top-slider .owl-carousel, .top-slider .carousel-img-wrap, .top-slider .carousel-des-wrap { height: 75vw; }—————
If it doesn’t work, may I check your website? Could you please leave your wp-admin access (URL / username/password) by picking up “Set as private reply”?
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJanuary 26, 2022 at 7:01 am #26868This reply has been marked as private.January 26, 2022 at 11:49 am #26871Hi,
I cannot visit the login page, you can add the CSS to solve it:
.top-slider .owl-carousel, .top-slider .carousel-img-wrap, .top-slider .carousel-des-wrap { max-height: 70vh; } .owl-carousel .owl-stage { padding-top: calc(15vh - 80px); }
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJanuary 26, 2022 at 12:31 pm #26873This reply has been marked as private.January 26, 2022 at 5:03 pm #26877This reply has been marked as private.January 27, 2022 at 2:00 am #26882Hi, welcome
Please paste the custom CSS code to “Appearance > Customize: Additional CSS”:
.top-slider { max-height: 70vh; overflow:hidden }
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookJanuary 27, 2022 at 6:11 am #26886This reply has been marked as private.January 27, 2022 at 12:21 pm #26891This reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.
