Minimum homepage – Use photos with blog titles

Community Forums Forums Design Tips and Tricks Minimum homepage – Use photos with blog titles

This topic is: not resolved

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  cehwitham 2 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19919

    KBordonaro
    Participant

    Hi,

    On the minimum homepage, I’d like to have my featured photos show along with the blog excerpts. I have it configured to do this in the theme settings but it is not showing up.

    How do I do this?

    Thanks,

    Kimberly

     

    http://www.kimberlybordonaro.com

    #21277

    cehwitham
    Participant

    You’ll need to edit home.php in wp-content/themes/minimum/ there’s a function called minimum_grid_loop_helper and in it is a line to set the images.

    Change:

    'grid_image_size' => 0,

    to

    'grid_image_size' => 'thumbnail',

    Let me know if that works.

    Chris


    Twitter: cehwitham Web: cehwitham.com

    #21499

    KBordonaro
    Participant

    That worked. I put in ‘portfolio’ instead of thumbnail, but do you know if there is a way to align the images in the center?

    I see the code: ‘grid_image_class’ => ‘alignnone’,

    Do I change it to ‘aligncenter’ ?

    Thanks so much for your help, Chris!

    -Kimberly

    #21532

    cehwitham
    Participant

    alignleft and alignright are the standard classes used in WordPress. You could add aligncenter where you’re referencing but then add something like the following in your style.css file:

    img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto }

    Hope that works for you. Let me know how you get on.


    Twitter: cehwitham Web: cehwitham.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.