Home › Forums › All Other Themes › BUSINESS CONSULTING — Change Portfolio Image Dimensions
- This topic has 7 replies, 3 voices, and was last updated 2 years, 7 months ago by Sonl Sinha.
-
AuthorPosts
-
October 22, 2020 at 1:22 am #167483
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!
CasaraOctober 22, 2020 at 12:30 pm #167559Hi,
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,
DaveOctober 23, 2020 at 6:46 am #167640Thank 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!
CasaraOctober 23, 2020 at 1:44 pm #167672Hi,
Kindly use this shortcodes:
[photogallery filter="false"]
Regards,
DaveOctober 23, 2020 at 7:25 pm #167681Hi, 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,
CasaraOctober 27, 2020 at 12:12 pm #167871Hi,
Kindly use this shortcode
[gallery catslug="top-on-imdb"]
to show particular gallery categoryRegards,
DaveApril 19, 2022 at 2:33 am #192588This doesn’t work for me. Is it the same for all themes with photo galleries?
April 19, 2022 at 4:37 pm #192607Hi Stephen,
Kindly show us your website URL and screenshot of your issues?
Regards,
Dave -
AuthorPosts
- You must be logged in to reply to this topic.