Carousel size

  • Unknown's avatar

    Hi,

    is there a way I could make the carousel slider smaller? I would prefer it not to take up the whole screen.

    Thank you :)

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Unfortunately, it seems like there is not a way to alter this carousel slider. It explicitly says that it is a “full-size” slideshow. My only suggestion would be to try to change something in css if you have an upgraded version of wordpress.com.

  • Unknown's avatar

    Hi @yvesmariesfaithjourney, this is a bit difficult to do, and things sort of go awry on smaller screens (less than 600px in width), so I’ve limited this to 600px and wider screens. Go to Customize > CSS, delete all the informational text in that window, and paste in the following custom CSS and see what you think.

    @media screen and (min-width: 600px) {
    .site-hero-wrapper .entry-content-site-hero-wrapper {
    	top: 30%%;
    }
    .site-hero-wrapper {
    	min-height: 500px;
    	height: auto;
    	max-height: 700px
    }
    .site-hero-wrapper .entry-image-site-hero {
    	background-position-y: bottom !important;
    	background-size: cover;
    	height: 75vh;
    }
    }
  • Unknown's avatar

    The carousel size on the desktop version is perfect. However, it hasn’t changed on mobile. Is it possible to change the size on mobile as well?

    Thank you so much for your help.

  • Unknown's avatar

    Hi, this is tough since there is so little real estate on screens narrower than 600px, and if you happen to add a post to the slider that has a long title, things will go awry and overlap. Replace what I had given you with the following and see what you think.

    @media screen and (min-width: 300px) {
    	.site-hero-wrapper .entry-content-site-hero-wrapper {
    		top:55%;
    	}
    	.site-hero-wrapper {
    		min-height:0;
    		height:auto;
    		max-height:700px
    	}
    	.site-hero-wrapper .entry-image-site-hero {
    		background-size:cover;
    		height:75vh
    	}
    }
    @media screen and (max-width: 599px) {
    	.site-hero-wrapper .entry-content-site-hero-wrapper {
    		top: 60%;
    	}
    	.site-hero-wrapper .entry-header-site-hero::after {
    		margin-top: 15px;
    	}
    	.site-hero-wrapper .entry-title-site-hero a, .site-hero-wrapper .entry-title-site-hero a:visited {
    		font-size: 90%;
    	}
    	.site-hero-wrapper h1.entry-title-site-hero {
    		line-height: 1;
    	}
    }
  • Unknown's avatar

    This is exactly what I was looking for! thank you so much!

  • Unknown's avatar
  • The topic ‘Carousel size’ is closed to new replies.