Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #808185

    Hi,

    I have a problem adjusting the pixels height on the whitespace/separator.
    It is on my front page.

    I would love some help with that simple issue :-)

    #808242

    Hey Camilla,

    Try adding this css code in Quick CSS (located in Enfold > General Styling):

    .home #after_full_slider_1 {
        display: none;
    }

    Hope this helps :)

    Best regards,
    Nikko

    #808253

    Hi Nikko,

    Thanks for looking at it.
    The CSS just removes the separator/whitespace entirely.

    In the separator/whitespace function, there is an option to enter a number that defines the pixel height.
    So the function is there. I just can’t make it work…

    Maybe you could login with my private data and look?
    I just find it hard to believe that writting a simple number in the option field like ’30’ or ‘-30’ can be done wrong :-)

    #808434

    Hi,

    You can manage this space with this custom CSS code:

    .template-page {
      padding: 10px !important; 
    } 
    

    Just change the values.

    Best regards,
    John Torvik

    #808540

    Thanks, John, but it affected the look of the shop products as well on mobile. So I had to remove the CSS again.
    Can you add something to make it more specific to only affect the spacer/whitespace?
    That would be great.

    #808897

    Hi,

    You can put this custom code inside a media query with a specific width, like this:

     @media (min-width: 1170px) {
      .template-page {
        padding: 10px !important; 
       } 
    }
    

    Best regards,
    John Torvik

    #809686

    Thanks, it worked.
    Can I add one that applies to mobile specific too?

    Also, will you fix the bug in the spacer, so this custom CSS is not necessary in the future?

    #810289

    Hi,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 450px) {
      .template-page {
        padding: 10px !important; 
       } 
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #810302

    Thanks, but when I add this my products below are no longer centered on mobile…

    #811478

    Hi Camilla88,

    Please remove the code I gave you before, and put this one instead:

    
    @media only screen and (max-width: 450px) {
     .responsive #top #wrap_all #after_section_1 .container {
      width: 90%;
        max-width: 95%;
    }
    #after_section_1 .template-page.content  {
      padding: 0 !important;
    }
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #811564

    Hi Victoria,

    Thanks for looking at it again. The code you most recently wrote does have any affect on the website.
    I appreciate all the attempt. But they all have a sideaffect that’s I would like to avoid.

    The spacer/whitespace block already has a field where I am guided to adjust the hight of the whitespace.
    That would be the ideal thing to do instead of different code.
    Is is a common error that the function does not work? And will it be prioritized in uocomming updates?

    Kind regards,
    Camilla

    #812925

    Hi Camilla,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 450px) {
     .responsive #top #wrap_all #after_section_1 .container {
      width: 90%;
        max-width: 95%;
    }
    #after_section_1 .template-page.content  {
      padding: 20px !important;
    }
    #after_full_slider_1  .container, #after_full_slider_1  .content {
        padding: 10px;
      }
    }
    

    You can adjust the spacing for the desktop view and it stays like that on mobile, if you want to adjust it for other screen sizes, you need css and media queries.

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.