Okay
  Public Ticket #3736441
Division Resizing for Responsiveness
Closed

Comments

  •  4
    Fionn started the conversation

    I am having a resizing issue for a division on Salient.

    At the moment I have created two division as the initial division wasn't responding well when downsized to mobile. The two rows next to each other didn't overlap when downsized.

    On the link above I made two divisions - one for full screen web size and a second for smaller screen that overlaps. this is a two part question.

    1. Can you see why the top division is cropped for example a screen 1024 x 1366 ( in screenshots, it crops division before resizing ) ?

    2. If I am to make two divisions with different sizing - is there a way to hide an entire row in different sizing? At the moment I can see settings for disabling 'inner rows' for different sizing but nothing for an entire row. So I can hide the content but as you can see the background image to the row isn't hidden.

    https://whitehorse.ie/christmas/

    (Screenshot examples)

    3972188184.png
    6422838541.png
    9262355213.png
  •  8,856
    Tahir replied

    Hey Again,

    By default, the Salient Page Builder does not allow you to hide the Rows Using the Responsive Options Tab like the VC Columns.  You can however use any of these 4 classes and add them to the Row Extra Class Field to hide that row:

    Note: This is just a hack and should be avoided if possible .

    vc_hidden-lg vc_hidden-md vc_hidden-sm vc_hidden-xs
    

     

    Classes Screen Size Icons
    vc_hidden-lg Large Screen 2638293731.png
    vc_hidden-md  Medium Screen 6824357955.png
    vc_hidden-sm  Small Screen
    2962813005.png
    vc_hidden-xs  Extra Small Screen 3533600151.png

     

     

     

    9768943648.png

     

     

    It works in the same way the Column VC " Responsive Options" Work : 

    3893827037.png

     


    ThemeNectar Support Team 

  •  4
    Fionn replied

    Hey Tahir!

    This has worked for hiding row. Can you also assist with the row cropping? (image below)

    Other divisions scale to window but this doesn't until a certain point.

    ( Edit * I did put a -30% margin to have a white border on this division - would this be the reason it crops before resizing? )

    6824625983.png
  •  8,856
    Tahir replied

    Hey Again,

    You need to remove the Left/Right Margins for it to fold correctly on responsive viewports: https://prnt.sc/ghIsjHz6-8jZ 

    Thanks.


    ThemeNectar Support Team 

  •  4
    Fionn replied

    Thank you Tahir!

    I added a -30% margin to add more white space left and right of the container.

    Is there another way to do this without -% the margin??

  •  8,856
    Tahir replied


    Yes, you can use paddings or the Margin field within the Row Settings. See screenshot: https://prnt.sc/pW8TBJ_bwVX2 

    Best 


    ThemeNectar Support Team 

  •  4
    Fionn replied

    I have increased the row setting column margin (and removed -30%) the white space is now there but how can I control the width of the container? as I is too narrow now.



    1592734103.png


  •  8,856
    Tahir replied

    You can increase the container width for the whole site in here: https://prnt.sc/_XyMT6VY1RvJ

    Best 


    ThemeNectar Support Team