Tagged: line height
-
AuthorPosts
-
June 3, 2014 at 12:14 am #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
thanksJune 3, 2014 at 5:26 am #273722Hey 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.pngSo 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!
ChrisJune 3, 2014 at 1:39 pm #273869Hi Chris, thanks for your answer. Please tell me how do i use code block, and what code i have to use?
ThanksJune 3, 2014 at 4:22 pm #273966Hi!
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!
YigitJune 3, 2014 at 9:25 pm #274203ok, 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
June 3, 2014 at 9:32 pm #274211Hey!
Try adding this code to the Quick CSS:
.hr-default { margin-bottom: 0; }
Cheers!
JosueJune 3, 2014 at 9:44 pm #274221great, thanks!
June 3, 2014 at 9:47 pm #274224You are welcome, always glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘line height, space between elements’ is closed to new replies.