Okay
  Public Ticket #3503419
Increase the vertical size of portfolio items on mobile
Closed

Comments

  •  10
    davidkhuffman started the conversation

    I've got a 2 column portfolio for mobile screen and every once and awhile I see the boxes get bigger vertically but then revert to squares.

    Can these boxes be taller so I can fit more text on them and they can look ok on the page?

    Attached files:  Screenshot_20231019-194344.png

  •  1,921
    Judith replied

    Hi David,

    Thanks for contacting us.

    Please try out this CSS:

    body .portfolio-items[data-gutter="3px"][data-col-num="elastic"], body .portfolio-items[data-gutter="3px"] .col {
        padding: 0px;
    }

    I hope this helps.

    Best Regards.

  •  10
    davidkhuffman replied

    The CSS successfully reduced the padding between the portfolio items, but it did not increase the vertical height of each of the portfolio items. Any different ideas?

    Thx.

    Attached files:  vertical stretching.png

  •  1,921
    Judith replied

    Hi David,

    Thanks for writing back.

    To assist you better, we'd love to have a closer look at your setup, and to do this, we'll need admin login credentials 

    (dashboard URL, username, password) to your site. This will enable us to conduct a more in-depth investigation of the issue based on your specific configurations. Would you mind sharing this with us? 

    If you prefer, you can safely share the access through a one-time secret note or using an access plugin such as Controlled Admin Access.

    Before you provide this information, we strongly recommend taking a backup of your site.

    If you have any concerns or questions about this process, please don't hesitate to let me know.

    Best regards,


  •  10
    davidkhuffman replied

    thank you!

    site: https://davidh523.sg-host.com/#thinking (but see on a mobile device)

    user: [email protected]

    pass: 3xjWFH7ndPeHCs4iKR!G

    dh

  •  8,939
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (min-width: 1px) and (max-width: 999px) {
        [data-fullscreen-anchor-id="thinking"] .portfolio-items .col .work-item img {
            min-height: 30vh !important;
            object-fit: cover !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  10
    davidkhuffman replied

    WOOHOO!!! 

    Works!

    Thank you!!

    David

  •  1,921
    Judith replied

    Hi David,

    You're welcome.

    Please feel free to write to us in case of any other queries, we'll be happy to help.

    Best Regards.