Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1080059
    domenicoruccia
    Participant

    Hello,

    Please take a look at my website: http://domenicoruccia.com/portfolio/no-title-2/

    As you can see, I have a portfolio item which is fine. However, since the image is vertical and big, there is no way a visitor can see it as whole. Is there a way to make this image clickable (to open in lightbox) so that it’s shown complete?

    Thanks,

    #1080069
    Christopher
    Moderator

    Hi there,

    You can hide featured image for portfolio page, then insert image and lightbox shortcodes in a text element.
    To hide featured image, please add following code in Customize -> Custom -> CSS :

    .single-x-portfolio .entry-featured {
        display: none;
    }

    Hope it helps.

    #1080494
    domenicoruccia
    Participant

    Hi,

    thanks for the answer. However, your suggestions doesn’t seem too elegant. The page would look quite differently (with the title and meta above the image).

    I’ve found a partial answer here: https://community.theme.co/forums/topic/link-featured-images/#post-64780
    But this opens featured image attachment page.

    Is there a way to open it as lightbox by modifying this code?

    Thanks

    #1080782
    Rupok
    Member

    Hey there,

    Thanks for writing back! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

  • <script> jQuery(function($){ $("#no-reply-1080059 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>