WordPress.org

Forums

Bootstrap Ultimate
[resolved] slider image size (6 posts)

  1. Jmcmillan7
    Member
    Posted 1 year ago #

    Hello,

    Really like the theme and love how easy it is to use. I am stuck on 1 little thing... (im probably just missing something) How do I get the featured image, from the post, on the slider to take up the entire slider area (as it looks when you see in the example before you download/activate the theme) and not in a smaller square on one side, as it appears in default?

    You can see at getrepowered.com

    Many thanks!

  2. eminozlem
    Member
    Theme Author

    Posted 1 year ago #

    well, you should download the version 1.4.8. It used to be like that up until the latest version.
    http://themes.svn.wordpress.org/bootstrap-ultimate/1.4.8/

    Or if you want to go the extra mile and keep your changes in future versions you should create a child theme and make two changes:

    1- create new functions.php for the child theme. Re-instantiate the old carousel image:
    add_image_size( 'eo-carousel', 970, 360, true);
    2- copy the /inc/modules/carousel.php from v1.4.8 in your child theme folder

  3. Jmcmillan7
    Member
    Posted 1 year ago #

    Thank you so much for getting back to me! This is my first child theme, so please bear with me! I have 1 more question:

    If the image size is not 970 x 360 the image stacks twice in the carousel, is there a way to fix this? or stretch the image ratio so it all appears the same? If you can have a look at my site you will see what im referring to.

    Again THANK YOU!!

  4. eminozlem
    Member
    Theme Author

    Posted 1 year ago #

    Hi, yeah image displaying twice is not a size problem, it was a bug.
    In inc/modules/carousel.php, You 'll see duplicate lines around 76-77

    if ( has_post_thumbnail() ) the_post_thumbnail( 'eo-carousel' );  ?>
    	<?php    if ( has_post_thumbnail() ) the_post_thumbnail( 'eo-carousel' );  ?>

    ,

    Just delete one of these lines.

  5. Jmcmillan7
    Member
    Posted 1 year ago #

    Great! Thanks so much for your help!

  6. eminozlem
    Member
    Theme Author

    Posted 1 year ago #

    No problem. Marking as resolved, let me know if you need anything else.
    And if you like the theme please rate & review (:

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic