BuddyDev

Search

Title of images breaks grid view

  • Participant
    Level: Initiated
    Posts: 6
    Monsur on #12581

    Hi,

    I am using mediapress grid view. But got a problem and could not find a solution for this. My grid view breaks when one of my site user uploaded an image with long filename. I am showing recent media with media title using shortcode in a page.

    Thanks in advance for assistance.

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #12586

    Hi Monsur,
    It is most probably a Word Wrap/Word break issue.

    In MediaPress we are using the following to force wrap title

    
    .mpp-item-title {
        word-wrap: break-word;
    }
    
    

    It is possible that there is a conflict in css.

    If you can link me to the page, I can assist with the proper css. If you don’t want to make the link public, Please mark the reply as private.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 6
    Monsur on #12599
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #12608

    Hi Monsur,
    Thank you.
    I checked it. It is not a css issue. Your grid is set to one column(mpp-u-24-24).

    Can you please post me your shortcode. I can help with that.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 6
    Monsur on #12619

    Hi Brajesh,

    Thank you for the reply.

    The shortcode I am using is [widget id=”mpp_media_list_widget-4″ lightbox=1] this shortcode is generated from a shortcode generator plugin , but it is perfectly working with the shortcode you gave on your site, like; i added lightbox=1 with that and it is reflected perfectly on my site.

    More over, I have gave you full access of my test site, you access and check there if you would like.

    Thank you again.

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #12620

    Hi Monsur,
    Thank you. Please try this shortcode instead.

    
    [mpp-list-media view=grid column=3 lightbox=1] 
    
    

    You can see more about it here
    https://buddydev.com/mediapress/topics/getting-started/shortcodes/mpp-list-media/

    Hope that helps.

    Brajesh

  • Participant
    Level: Initiated
    Posts: 6
    Monsur on #12629

    Hi Brajesh,

    I am sorry to say, it is not working. Title is not wrapped there.I have tested it in a clear post and page. I am sure , it is not conflicted by the theme. Please have a look.

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #12648

    Hi Monsur,
    I am sorry about that.

    I will test on the site and update(In the second half of the day today).

    I will post back after that.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 6
    Monsur on #12701

    Hi Brajesh,

    I know you are busy. Just reminding that you may have some time to look at my issue.

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #12719

    Hi Monsur,
    I am sorry, I forgot about it. Will test today and get back to you.

    regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved