• Resolved lagervais

    (@lagervais)


    I feel like I’m missing something from previous posts but I can’st seem to adjust the slider “height” on my WEN website http://www.officecure.com. It is too high and takes up the whole screen I would like the user to see that there are featured posts without having to scroll too much.

    Anyone know where I can fix this in the code?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Theme Author WEN Themes

    (@wenthemes)

    Well, if you feel comfortable with writing a small code snippet in your
    child theme’s functions.php, you can adjust the height of the slider
    that is in your homepage.

    Default size : 1600 x 440
    New size through code : 1600 x 200

    add_image_size( 'wen-business-slider', 1600, 200, true );

    In the above code example you can just adjust the value of image height (currently ‘200’) to see the effect. Please remember once after you adjust these values in your functions.php file , you would need to re-upload the images to take the desired size.

    You might need to consider editing the style.css for adjusting caption since it does not take proportionate resizing respective to resized image.

    E.g. add the following CSS style in your child theme’s style.css

    .cycle-caption{
    padding : 0px;
    }

    Let us know whether this solution worked on your current issue.

    We will soon add this feature of controlling height width in upcoming
    version of this theme.

    Thread Starter lagervais

    (@lagervais)

    This worked – so simple, thank you.

    Where exactly to add
    .cycle-caption{
    padding : 0px;
    }

    I am in style.css but is too big and I can not find where to add this paragraph.

    You can add these styles to style.css anywhere or you can even create a custom.css file & then enqueue it in your theme. How to enqueue you can see this: https://developer.wordpress.org/reference/functions/wp_enqueue_style/

    Hello,
    I make everything like is written but changes of size of picture in slide became only on one of all pictures in slide. Can you tell me why size of another pictures are not change?

    Theme Author WEN Themes

    (@wenthemes)

    Can you please provide us your current site url ?

    Dear, my sait is http://www.andyconsults.com
    Thanks!

    Theme Author WEN Themes

    (@wenthemes)

    Can you please try following CSS.

    #main-slider .cycle-caption{
    	padding: 5px;
    }
    #main-slider .cycle-caption h3 a{
    	margin: 0;
    	font-size: 25px;
    }
    #main-slider .cycle-caption h3{
    	margin-bottom: 0;
    }

    You can find Custom CSS box under Theme Options -> Advanced in Customize.

    Hi i am having trouble also I would like to make the slider height TALLER
    http://secrets.my-style.in/
    Thanks!

    Hello @lovebexa,
    The recommended Slider Image Size is 1600px X 440px. Howvever, if you use bigger/smaller images than the recommended size then slider size will be obviously bigger/smaller depending on the uploaded image size.

    Thanks,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Slider height’ is closed to new replies.