Homepage Pane Image Sizes

  • rickytherhino

    #5137

    My images are vastly different sizes on my homepage panes. Is there a way to set limits or resize them to all look the same? Also can I specify what text goes below each different pane?

    I noticed on another thread that each pane was getting its own ID as of version 1.6. Where do I go find it to edit it?

    Thanks,

    Daniel

    http://www.nexusenergycenter.org

    Mod

    Kenneth John Odle

    #30809

    Try something like this:

    .homepage_pane img {
    max-height: 100px;
    }

    This may cause some distortions with your images, or shrink their width a bit. You’ll have to play around with height and width settings to get something you can live with.

    rickytherhino

    #30810

    Yeah I’m still way off. Is there maybe a way to find the dimension of the space so I can make it fit in a program like Photoshop or GIMP?

    Also, do you know how to customize the text below? Right now it just pulls the first text from the page but I’d like it to be different. Is that possible?

    Anonymous

    #30811

    To get your images the same size, simply use the same dimensions each time you create a new image for the homepage panes. I’m not sure what the exact dimensions are, but if you stay consistent… they should all display the same.

    To adjust the text under the image, when you are editing the post (just below the content editor), you should see a section called “Excerpt”. If you do not see this, click “Screen Options” in the upper right corner and select “Exceprt”.

    Now, you can manually type your excerpt content, which will be different from the actual post content.

    rickytherhino

    #30812

    Hey Josh,

    I don’t see the “Excerpt” under the screen option or below the editor. These are pages that are displaying rather than posts. Does that matter?

    I will try the exact same image sizes and see what happens!

    Daniel

    Anonymous

    #30813

    Yes, pages will not have excerpt.

    rickytherhino

    #30814

    Yikes! Is there any way to change that or am I hosed?

    Daniel

    Anonymous

    #30815

    Just add this line to your child theme’s functions.php. It enables excerpt for pages.

    add_post_type_support('page', 'excerpt');

    Anonymous

    #30816
    Quote:
    add_post_type_support(‘page’, ‘excerpt’);

    Yep. Sorry, I missed that part.

    rickytherhino

    #30817

    Does it matter where I put it in the functions.php?

    Daniel

Viewing 10 posts - 1 through 10 (of 12 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!