Okay
  Public Ticket #3533019
Post Loop Builder mobile display (responsive settings)
Closed

Comments

  •  2
    NASBAM started the conversation

    Hello,

    I want to change the mobile viewport for the post loop builder. Currently: Android & iPhone show 1 column instead of 4. I desire to have 3 columns in a mobile phone viewport. Example: Salient-PostLoopBuilder-DesiredSituation-Mobile.jpg

    I already looked at the column settings > responsive options. But when I change something, for example: mobile phone > selecting 3 columns. The back-end for desktop changes too. Example: salient-postloopbuilder-responsivesettings1.jpg

    How can I archieve this?

    Thank you in advance!

    Attached files:  Salient-PostLoopBuilder-DesiredSituation-Mobile.jpg
      salient-postloopbuilder-responsivesettings1.jpg

  •  1,921
    Judith replied

    Hi there,

    Thanks for writing back.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    @media only screen and (max-width: 690px){
    .nectar-post-grid[data-columns="4"][data-grid-spacing="10px"] .nectar-post-grid-item {
        width: calc(25% - 20px) !important;
    }
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related

    If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 


  •  2
    NASBAM replied

    Thank you Judith. Excuse me for my late reply. I was unavailable to react earlier. It worked great. We're almost there. There are a few issues left, but I will reply soon (later this afternoon).