BUSINESS CONSULTING — Change Portfolio Image Dimensions

Home Forums All Other Themes BUSINESS CONSULTING — Change Portfolio Image Dimensions

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #167483
    Casara ClarkCasara Clark
    Participant
    • Topics: 32
    • Replies: 49
    • Total: 81
    Member since: April 24, 2020

    Hi!

    I’m currently using Business Consulting at this site: https://www.ramolawpc.com/refresh/

    I’d like help with the PROJECTS section.

    I’d like to change the dimensions of the projects’ featured images. Right now, they’re square.
    The ideal dimensions for the display of the featured images on the homepage would be horizontal rectangles, so: the width can stay as is, but height should be 0.562x the width.

    (The image I’m basing this off of, for example, is (w x h) 726 x 408, but I’m offering the ratio so that the width can stay the same since I like a lot about the aesthetic for the projects display, as is.)

    Thank you!
    Casara

    #167559
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30975
    • Total: 30975
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    .image-block img {
        height: auto;
        width: 100%;
        object-fit: inherit;
    }
    .image-block { height:auto;}

    Regards,
    Dave

    #167640
    Casara ClarkCasara Clark
    Participant
    • Topics: 32
    • Replies: 49
    • Total: 81
    Member since: April 24, 2020

    Thank you so much! I’d love to understand the shortcode for the categories. I wanted it to just show projects with one category only, not give me the toggle option to sort the projects…

    The shortcode I entered was:

    [photogallery cat='top-on-imdb']

    But you’ll see at https://www.ramolawpc.com/refresh/
    That shortcode did not result in successfully filtering the posts shown, it just gave me a toggle option for the portfolio items.

    Is it possible to figure out what code would let me ONLY display portfolio items with a specific category?

    Thank you!
    Casara

    #167672
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30975
    • Total: 30975
    Member since: August 16, 2013

    Hi,

    Kindly use this shortcodes:
    [photogallery filter="false"]

    Regards,
    Dave

    #167681
    Casara ClarkCasara Clark
    Participant
    • Topics: 32
    • Replies: 49
    • Total: 81
    Member since: April 24, 2020

    Hi, thank you! Yes, that turns the toggle off, but it spits out ALL the projects then… I want to be able to only show ONE category of projects in the gallery…

    I’m working over here on this site: https://www.ramolawpc.com/refresh/

    There are going to be three categories to the projects: (1) top-on-imdb, (2) emmy-winner, (3) emmy-nominated.

    I would love to be able to use the shortcodes to make three different galleries showing the projects from only one category.

    I tried to accomplish this like this:

    [photogallery cat='top-on-imdb']

    But that just creates the toggle and still spits out ALL the projects.

    I want to be able to show only one category the way that I can with the LATEST NEWS and posts plugin.

    Thank you,
    Casara

    #167871
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30975
    • Total: 30975
    Member since: August 16, 2013

    Hi,

    Kindly use this shortcode [gallery catslug="top-on-imdb"] to show particular gallery category

    Regards,
    Dave

    #192588
    R. Stephen GraceyR. Stephen Gracey
    Participant
    • Topics: 3
    • Replies: 10
    • Total: 13
    Member since: March 5, 2022

    This doesn’t work for me. Is it the same for all themes with photo galleries?

    #192607
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 30975
    • Total: 30975
    Member since: August 16, 2013

    Hi Stephen,

    Kindly show us your website URL and screenshot of your issues?

    Regards,
    Dave

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.