Okay
  Public Ticket #3906352
Vertical Element Spacing Sizing in Carousel
Open

Comments

  •  9
    Eric started the conversation

    Hey guys...was hoping I could figure this out with a quick CSS fix, but I'm having the dardenst time figuring out how I can simply increase the size of the logos (without the circle mask starting to cut off the image) and reduce the vertical spacing between the logo and dots on this page...all while keeping the general sizing / spacing consistent on desktop, tablet and mobile. 

    1441652787.png

    I'm certain this could be a quick CSS fix, but I just cannot find the values that need to be adjusted in my web inspector. Any help would be so appreciated. :)

  •  2,045
    Judith replied

    Hi Eric,

    Thanks for writing to us.

    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:

    .nectar-flickity:not(.masonry) .flickity-slider .cell img {
        max-width: 18vw;
        width: 8vw;
    }
    .img-with-aniamtion-wrap[data-max-width="custom"].center .inner {
        display: inline-table;
    }

    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. 

     

     
  •  9
    Eric replied

    THANK YOU Judith. That seemed to work great to make the logo's universally larger on desktop. The only problem is the logos are now very small on mobile & tablet:

    9409422791.png



    Also, is there a way I can reduce the amount of vertical space between the logos and the navigation dots?

    4352298834.png

    Thank you!

  •  9,151
    Tahir replied

    Hey Again,

    Try using the below CSS only and check.

    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):

    .nectar-flickity:not(.masonry) .flickity-slider .cell img {
        min-width: 190px;
    }
    

    Thanks

    Best,

     


    ThemeNectar Support Team 

  •  9
    Eric replied

    Thank Tahir, 

    While that worked to make the logos bigger on mobile, it now seems that the logos are now getting cut off:

    7705700296.png


  •  9,151
    Tahir replied

    You can set a different value for mobile using below CSS. 

    @media only screen and (max-width: 690px) {
        .nectar-flickity:not(.masonry) .flickity-slider .cell img {
            min-width: 150px !important;
        }
    }
    

    If you dont wish to use CSS you can change the size of the image using the "single image" Page element settings. 

    Thanks


    ThemeNectar Support Team 

  •  9
    Eric replied

    Yes, now that I have the custom css in, I'll go in and adjust the size of the images so they are all consistent...although, the mobile still looks really weird...here are screenshots of each of the 4 logos. As you can see the logos aren't centered and getting cut off by a square mask, and one of them even seems to be getting cut off by a circle mask?

    7075113162.jpg
    1240181289.jpg
    2995003696.jpg
    6245539383.jpg


  •  9,151
    Tahir replied

    Hey Again,

    I am not able to replicate the mobile issue in Chrome. Try removing all CSS and adjust the Image size and also crop the images in the Media Library before resetting them in the Page Element.

    Best,

     


    ThemeNectar Support Team 

  •  9
    Eric replied

    Yeah, you are right and I can now see where I can adjust this using the page element settings. I think the only thing I was trying to figure out how to reduce the vertical spacing between the logo and the navigation dots. I just cant seem to find the css where that is....


    4352298834.png

  •  9,151
    Tahir replied

    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):

    .nectar-flickity[data-control-style=material_pagination] .flickity-page-dots, .nectar-flickity[data-controls=material_pagination] .flickity-page-dots {
        bottom: -5px !important;
    }
    

    Thanks


    ThemeNectar Support Team 

  •  9
    Eric replied

    Works Perfect...THANK YOU TAHIR.