Fix image height on blog slider

Hello team,

I'm looking for a trick to fix the height of elements in Muffin Builder's "Blog Slider" : actually, pictures changes of height, but I think it would be better to fix height to keep the page clean.

Also, could you help me to insert properly the article excerpt in place of the big "Read More" button (And only keep a simple thin link to the article)?

Thanks a loooooooot !!! =D

Comments

  • Hi,

    1) Please make a screenshot of what you mean with necessary changes and send us also url to your website so we can have a look on it.

    2) Excerpt works as default what you can see at http://themes.muffingroup.com/betheme/blog so if you want to modify it, then we also need screenshot with explanation + link to page.
  • Hi,

    Here is the  screenshot of what I'm looking for ! :)

    image

    Thanks !!
  • Ohh ok. We missed in previous message that this is blog slider item. So the excerpt can`t be done here but we can think about it while future updates. You can only remove button with below css:
    .blog_slider .blog_slider_ul li .item_wrapper a.button { display: none !important; }
    But we don`t understand what you exactly want to do with height for this slider. Do you want to increase this height or what? Please also send us url to your website so we can have a look what images you have and if there is anything what we can do for you in this case.
  • edited October 2014
    So sad to learn we can't put excerpt on this zone.
    Maybe I can use any other Muffin Builder module to get this result ?

    For the picture height, when I chose 2 images with different sizes, I use them as "A la Une" (principal picture), size is not set with a default height, and I can't ask every user of the website to resize every picture! :'(


    You could find the website here : http://mkclub.fr
    image
    Thank you !
  • Also, I'm looking for the Muffin Builder PHP file which generate this blog slider. Can you give me the path to it ?

    Thanks again !
  • The file responsible for shortcodes is functions/theme-shortcodes.php file. But you must know that you won`t be able to do theme updates in the future and you do changes at your own risk.

    Thanks for understanding!
  • And to fix image's height? :)
    Thanks
  • For that we need url to your page where you have this feature with images uploaded and also we must to know if you would like to increase or decrease height of this image.
  • On the home page http://mkclub.fr, you Can see That the left picture is bigger than on the right
    http://piedallu.me/raphael/mk.jpg

    I want to decrease the picture size, or set the height myself :)

    Thanks !
  • Ok we see. It looks like your image inside has been uploaded before theme has been installed and that`s why it does not look as should be. To regenerate images, please use https://wordpress.org/plugins/force-regenerate-thumbnails/

    But if above solution won`t help, then probably you need to have a look into functions/theme-functions.php and play with below line:
    add_image_size( 'blog',             576,  450,  true  );     // blog - list
    more info about this function you can read at http://codex.wordpress.org/Function_Reference/add_image_size

    Also you can try to use below css but this will distort images inside blog slider:
    .blog_slider .blog_slider_ul img.scale-with-grid { max-width: 405px; max-height: 228px; }
  • Nice !

    Do you think add manually the excerpt (Or 100 characters...) would be possible ?

    Thanks =)
  • Basically everything is possible but we do not offer those kind of solutions or modifications because there is a problem in the future usually. Something won`t work or other bad things happen and we can`t control each user`s website. That`s why we control and do only what is included into theme.

    Thanks for understanding!
Sign In or Register to comment.