-
AuthorPosts
-
December 25, 2021 at 10:53 pm #1333989Reina SmallenbroekGuest
Hi,
First of all… have nice holidays … this question is in no rush.
I have a portfolio raster working on my website in the page: “Foto’s”. Each portfolio item is made on a new portfolio page… the portfolio item is in the dashboard added as a featured image.
On the front of the website are the images displayed in a grid and when you click on one it is displayed in a lightbox. So far so good. That workes like a charm.
But if I want to show a single portfolio page in the frontend (or if I use the search bar for an image) it is not displayed with the right height.
I tried if it would make any difference to switch off the right sidebar in the single pages, but that is not the solution. Example of a link in the private section.
Is there a way to display these images in the correct with and hight?
Best regards
ReinaDecember 28, 2021 at 1:56 pm #1334006Hey Reina Smallenbroek,
Thank you for the link to your single portfolio item, I see that the featured image is using the 845×321 image, to use a larger image that is not cropped, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 ); function enfold_customization_modify_thumb_size( $size ) { $size['entry_with_sidebar'] =array('width'=>1500, 'height'=>1500 , 'crop' => false); return $size; }
this will only take effect on new uploaded featured images, or you can use the thumbnail regeneration plugin
Then clear your browser cache and any cache plugin, and check.
Our support forums are closed for the holidays, we will be back on Jan 3, at that time if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeDecember 28, 2021 at 5:02 pm #1334009Hi,
I don’t need an answer right away. Enjoy your holidays!
[quote]child theme functions.php file[/quote] This means I have a Child Theme installed I guess? Unfortunately I have not installed the Child Theme.
Oeps… I should have!
Best Regards
ReinaDecember 28, 2021 at 5:50 pm #1334010Have been googling for Child Theme.
I will install a Child Theme on my test site (Xampp) and see if I get it working.
Thanks for your time!Best Regards
ReinaDecember 29, 2021 at 1:38 am #1334011Hi,
Using a child theme would be ideal, but you could add the function above to the Enfold functions.php file, it would be lost when you update the theme next.
Our latest child theme should be included in your full theme download from your Theme Forest account, it is the one with the documentation, or you can download the original child theme from our online documentation here ▸ Child Theme
Please read the steps especially Step 4: Import parent theme options and note that if the site doesn’t look like all of the styles are correct, as in the colors, try clearing your browser cache and disabling your caching plugin, if you have one.
I recommend exporting your theme settings to your computer as a backup before installing the child theme, just for peace of mind, I’ve not seen a child theme install go wrong before.
Best regards,
MikeDecember 29, 2021 at 6:45 am #1334013Hi Mike,
Thank you so much for your effort.
I’ll do this first on my test site and will follow your directions!Best regards
ReinaDecember 29, 2021 at 1:26 pm #1334014December 29, 2021 at 9:17 pm #1334015Hi:
Update:
Exported the settings of the Parent Theme.
Downloaded and Installed the Child Theme. Added the code mentioned above in the functions.php file of the Child Theme.
I was not able to import *xml settings fil into the Child Theme (not permitted because of security reasons)
Instead I used the button Import Parent Theme Settings.
Result, besides the menu ( place + color) and color footer: excellent! I can adjust the color settings!Because I have about 900 images I used the Regenerate Thumbnails plugin.
Cleared Cache from Firefox.I am very happy.. It works great!
Thank you so much!
Have a happy new year also!
Best regards Reina
December 30, 2021 at 4:17 am #1334017Hi,
Great, I’m glad that you got things working. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardDecember 30, 2021 at 8:00 am #1334018You can close it.
Very grateful!December 30, 2021 at 1:33 pm #1334019Hi,
Glad we were able to help, if you have any further questions please create a new thread after Jan 3, and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘image is not displayd on the right height in the browser in the portfolio item page’ is closed to new replies.