• Resolved controlb

    (@controlb)


    I have a couple of questions about the Kyma slider:

    1. How can I use the slider with custom posts (e.g. event posts in Events Manager)?
    2. How can I change the height of the slider?
Viewing 15 replies - 1 through 15 (of 15 total)
  • webhuntsupport

    (@webhuntsupport)

    Hi,

    Please explain in more detail your first issue with screen-shot.

    For second issue follow below instructions:

    Kyma theme slider is auto responsive which is adjust according to slider image

    size.

    We already fixed slider image size(1349*540)px.

    You can increase/decrease slider image size according your requirement.

    Go to your core theme directory >> functions.php file.

    Now open in any text editor and find the below line of code.

    add_image_size('kyma_slider_post', 1349, 540, true);

    And change it’s height (540) according your need.

    Let us know for further help.

    Please provide site URL for further issue.

    Thank You

    Thread Starter controlb

    (@controlb)

    Thanks for fixing issue 2.

    Issue 1: a screenshot wouldn’t help unfortunately. Do you know the Events Manager plugin? It creates events as posts, however the posts are not shown as regular posts. I’m looking at EM for a solution but if you can come up with an idea that’d be very helpful.

    webhuntsupport

    (@webhuntsupport)

    Hi,

    This plugin is not compatible with our theme.

    Because its a third-party plugin.

    Let us know for further assistance.

    Thank You.

    Thread Starter controlb

    (@controlb)

    Is there any way of changing the slider size in Kyma-Child? I tried copying over the whole kyma_theme_setup function but got a server error.

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    We already provide the solution for slider image.

    But i think you want to use “Child-Theme” for changing the slider image size.

    Then change the function name “kyma_theme_setup” to “kyma_theme_setup_child”.

    And put below line of code into this function.

    add_image_size(‘kyma_slider_post’, 1349, 540, true);

    Save the changes.

    Let us know for further assistance.

    Thank You.

    Thread Starter controlb

    (@controlb)

    Hi,

    It looks like the slider defaults to the height of the image used, instead of doing the equivalent of ‘background-size: cover’, which is what’s needed here, particularly with images of different sizes.

    I’ve tried making the height change to both theme setup functions but the slider only pays attention to the image size.

    I’ve also tried changing the wrapper height via the CSS, but this either distorts the image or knocks the text lines down.

    Hi,

    Here we are sending a “Child-Theme” package link.

    Link is HERE.

    Please download and activate it.

    Here we already customized your “Child-Theme” package according your

    requirement. If you want to change slider height then please change slider

    image size. then it will automatically adjust according image size.

    For changing the slider image size open “functions.php” file from your

    “Child-Theme” directory.

    And find below line of code

    add_image_size(‘kyma_slider_post_child’, 1349, 350, true);

    and change the size 350(height) according your need.

    Save the changes.

    Note: After activate the “Child-Theme” or modify the changes please upload your slider post images.

    Hope it will work for you.

    Let us know for further help.

    Thank You

    Thread Starter controlb

    (@controlb)

    That’s exactly what I did; it ignores that and takes the height from the image instead.

    Cheers.

    Can we mark this ticket as resolved ?

    Thank You

    Thread Starter controlb

    (@controlb)

    No, because I did exactly what you said and the slider ignores it and takes the slider height from the image instead.

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    Share your site URL.

    W’ll check if your slider image is croping or not.

    Thanks

    Thread Starter controlb

    (@controlb)

    Thanks, but after all this I’ve decided to use a different theme.

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    Most Welcome.

    We can only assist you for any query.

    Sorry for inconvenience.

    Thank You

    The guy that dumped your theme was right. Slider images are NOT responsive. I have an image 600×600 that is being stretched out much bigger than that…

    If this issue is still unresolved, I might have to follow his lead.

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    hello grawick360,

    The recommended size of slider image is 1349×540 pixels or greater than this.

    If you upload image that is smaller than above resolution it’ll not be croped and will be display as it is in it’s actual size.

    so upload the image of correct size and it’ll be automatically croped.

    Hope this answers the question.

    Thanks

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Slider: custom posts & height’ is closed to new replies.