Image slider

  • Unknown's avatar

    > I have done some css customization to my premium zuki .all work fine on desktop computer but there is a problem on mobile the pics slider look distored.please help

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

  • Unknown's avatar

    Hi, you have the height in the following custom CSS rule set to 470px. which is a static value so it is forcing the image to keep that height, regardless of width thus creating the distorted image. Set it to auto instead like this.

    .attachment-zuki-fullwidth, .size-zuki-fullwidth.wp-post-image, .flexslider .site-header {
        height: auto;
    }
  • Unknown's avatar

    Great.thanks so much!

  • Unknown's avatar

    after using ur script, the image no more look distorted on mobile but still a problem, the featured image look blur and the text and header (title) not in place , when view it on mobile.

  • Unknown's avatar

    the layout of my website look fine on theeeee desktop, but on mobile and tablet and laptop look distorted and different. any further help?

  • Unknown's avatar

    There are some things in your CSS that are overriding some of the slider element CSS and causing some issues with the block of text that contains the title, date and excerpt. Let’s try this. Replace this rule in your CSS

    with this

    .widget_zuki_recentposts_big .rp-big-one-content .story,#featured-content .rp-big-one-content .story {
    	max-width:350px;
    	max-height:470px;
    	position:absolute;
    	top:15px;
    	right:1px;
    	padding:0 20px;
    	background-color:#;
    	width: 100%
    }

    and then replace this

    .wf-active #featured-content .rp-big-one-content h2.entry-title,.wf-active .front-fullwidth .rp-big-one-content h2.entry-title,#featured-content .rp-big-one-content h2.entry-title,.front-fullwidth .rp-big-one-content h2.entry-title,.wf-active h2.entry-title,.wf-active .front-fullwidth .rp-big-two-content .entry-header h2.entry-title,h2.entry-title {
    	font-size:30px
    }

    with this

    @media
    screen and (min-width: 1260px) {
    .wf-active #featured-content .rp-big-one-content h2.entry-title,.wf-active .front-fullwidth .rp-big-one-content h2.entry-title,#featured-content .rp-big-one-content h2.entry-title,.front-fullwidth .rp-big-one-content h2.entry-title,.wf-active h2.entry-title,.wf-active .front-fullwidth .rp-big-two-content .entry-header h2.entry-title,h2.entry-title {
    font-size:30px
    }
    }
    `

  • Unknown's avatar

    great, thesacredpath. the featured content issue solved using your rule, but still a slight isue there, the featured image slider size look smaller than the rest on mobile and not fit in place.

  • Unknown's avatar

    That is because you have it set to 70% width in your custom CSS. We can use a Media Query to limit that 70% width to 768px and wider screens. That is the point where the posts below the slider go to full width.

    Find this rule in your custom CSS

    .attachment-zuki-fullwidth,.size-zuki-fullwidth.wp-post-image,.flexslider .slides img {
    	width:70%;
    }

    and replace it with this and see what you think.

    @media screen and (min-width: 768px) {
    .attachment-zuki-fullwidth,.size-zuki-fullwidth.wp-post-image,.flexslider .slides img {
    	width:70%;
    }
    }
  • Unknown's avatar

    great! got it. thanks

  • Unknown's avatar

    the only thing now is : how to place the text content slider under the images slider, instead of being on top of the images, on mobile?

  • Unknown's avatar

    Give this a try and see what you think.

    @media screen and (max-width: 479px) {
    	.rp-big-one-content h2.entry-title {
    		position: absolute;
    		bottom: -230px;
    		left: 0;
    	}
    }

    Add it to very bottom of your custom CSS.

  • Unknown's avatar

    yes, it works. the content slider title is now under the images, but the next previous buttons are hiding the text title. how to push these scrolling buttons arrows up ?

  • Unknown's avatar

    it s ok i put it at : bottom: -250px;

    now it s ok. thanks so much

  • Unknown's avatar

    now my front page layout look very nice on both desktop and mobile . u really helped a lot, appreciate it!

  • Unknown's avatar

    Awesome, and you are welcome.

  • The topic ‘Image slider’ is closed to new replies.