Okay
  Public Ticket #309924
Different default paddings before rows
Closed

Comments

  •  1
    Niklas started the conversation

    The given link is just an example. I realised, that depending on which row-style I choose, that there are different default paddings at the beginning of the row and there is an extra padding for the first row after a fullscreen header.

    Can you tell me when I'll have which padding? To me it looks like there are different paddings.

  •  8,406
    Tahir replied

    Hey!

    Actually if you edit the row you will see the padding options in there.s

    Thanks 


    ThemeNectar Support Team 

  •  1
    Niklas replied

    Hi! I know that option but there is some default padding on some rows.

    E.g. take a look at the page I linked above. I did not set the padding in any of the rows (each row starts with one of the h3-headings). Nevertheless there is a padding and this padding is what I'm talking about. Depending on the style of the row (full content, full background or container) the size of that padding seems to be different. Sometimes there is even no padding. I think it depends on some other stuff, too, like the type of the row before or if it's the first row or the first row and there is a fullscreen header, but I don't really know.

    E.g. when I've got a container row behind a fullscreen header, there is a padding. When I've got a container row behind a fullscreen content row, there seems to be no padding.

    I can find out the paddings by trying all posibilities I can imagine, but I thought it would be easier to just ask :)

    //EDIT
    Just for a test I added a fullscreen content area at the beginning with a parallax background. It looks like there is a general padding before the first row. That made me think that there is a different padding at the beginning of the first row, even if all rows are container rows. But it's not, I'm sorry! :) So to me it looks like

    • 70px default padding after a fullscreen header
      --> Is that wanted? Because with a fullwidth column as the first row, it looks weird.
    • 35px margin after a container row
    • No margin/padding on fullscreen background or fullscreen content rows.

    I can live with the last two points but would like to remove the first ;) I know the code for a custom CSS to remove it, but wanted to ask if this padding is wanted or not (and ask why! ;-P)


  •  982
    ThemeNectar replied

    Hey,

    To sort the first:

    html .single-post.ascend .container-wrap.fullscreen-blog-header, html body.single-post.ascend[data-bg-header="true"] .container-wrap {
      padding-top: 0!important;
    }
    

    Cheers

  •  1
    Niklas replied

    Thanks, that works for me! Just to know: Is it a bug and will it be fixed or is there a specific reason for this default padding at the beginning? :)

  •  982
    ThemeNectar replied

    It's kind of a bug - most people just have text without a BG image directly first in the blog after the header so that padding is needed - however I'll note to remove it if a row with a BG is used :)