Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #273626

    Hi guys i am trying to achieve a line height similar to the one in this image http://abolengo.com.ar/anuevo/wp-content/uploads/2014/06/line-height.png i am using a block text in this area like it was a footer/ socket so i can use the color area with image background. But i cant get the to final texts to work with no space in between each other. you can take a look to how is http://www.abolengo.com.ar/anuevo. But i want to afect only this one text block
    thanks

    #273722

    Hey smorrone!
    So what is happening is there is a default margin applied to ( p ), see this image:
    https://dl.dropboxusercontent.com/u/21724593/kriesi/p-margin.png

    So to remove that from only that text block. You will want to give your p’s that you want to remove it from a class.
    Something like:

    <p class="no-margins">Then Add Your Text Here</p>
    
    Then in your quick CSS edit in "Enfold / General"
    you would put something like this:
    
    p.no-margins { margin: 0em 0!important;}

    It may be easier if you make this using the code block instead of the text block, I’m not 100% sure that the code won’t get stripped out after you save it again.

    Cheers!
    Chris

    #273869

    Hi Chris, thanks for your answer. Please tell me how do i use code block, and what code i have to use?
    Thanks

    #273966

    Hi!

    You can find Code Block element under Content elements in Avia Layout Builder – http://i.imgur.com/KFsdWPv.png
    You can add following lines to Code Block element

    <p class="no-margins">Then Add Your Text Here</p>

    or the same line in Text Block element on TEXT tab then add following code to Quick CSS in Enfold theme options under General Styling tab

    
    p.no-margins { margin: 0em 0!important;}

    Cheers!
    Yigit

    #274203

    ok, one more Yigit, how i decrese de space between the horizontal rules element deffault, and the text below. i want the text closer to the ruler. http://abolengo.com.ar/anuevo/wp-content/uploads/2014/06/h1height.png

    #274211

    Hey!

    Try adding this code to the Quick CSS:

    .hr-default {
        margin-bottom: 0;
    }

    Cheers! 
    Josue

    #274221

    great, thanks!

    #274224

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘line height, space between elements’ is closed to new replies.