Jump to content
Sign in to follow this  
pehja

Space between lines in posts

Recommended Posts

pehja

How/ where can I change the line spacing on pages and posts? Would like to decrease the amount of space between lines.


Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
WebWerx
@pehja: Inspect the element with FireBug Here's a hint: http://www.w3schools.com/cssref/tryit.asp?filename=trycss_dim_line-height_pixel I did go to your website, but it looks like you are working on it at the moment. You would then add the requisite CSS via custom.css

Share this post


Link to post
Share on other sites
pehja
Yes I am working on it! I already tried that, but it did not work. You can go here [url]http://peterhjalmarsson.se/start-2/[/url] Why is the space so large ? Looks stupid

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
WebWerx
So what font size are you trying to get here?: http://cl.ly/3k2O1c3M1y3n1S1D3G0K

Share this post


Link to post
Share on other sites
pehja
The fontsize I can manage. It's the space between the lines.

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
WebWerx
Are we referring to the screen capture I posted (above)? If so, then you will note that you have determined the font size in the HTML code. You can add the line spacing in the same code. Or you can create a new DIV and style with CSS.

Share this post


Link to post
Share on other sites
WebWerx
Isn't it bedtime in Denmark? I-)

Share this post


Link to post
Share on other sites
WebWerx
Oh -- The space is so large because you appear to have reduced the font size whilst maintaining the same line spacing.

Share this post


Link to post
Share on other sites
pehja
In Denmark perhaps, but not in Sweden ;-) Where do I change the line spacing.

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
WebWerx
I think you need to step back a bit @pehja. You appear to have given conflicting instructions to your code in this case and with your other issue (menus). When you code, something has to take precedence. You need a plan.... :)>-

Share this post


Link to post
Share on other sites
pehja
You are correct! It is bed time ;)

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
catrina
Assuming you haven't come to the proper solution yet, this may help: http://www.w3schools.com/cssref/pr_dim_line-height.asp

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
pehja
Thanks Catrina. Should I put the code in custom css or in base theme style.css. When I have tried all different sorts of code in the custom css it had no effect, regarding the space that is.

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
Jenny
Either is fine really, but choose one or the other and stick with it. Otherwise, you will have to worry about conflicting code overwriting each other. Make sure you haven't already specified the element somewhere else or your changes may not take effect.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
pehja
Thanks Catrina and Jenny! Your the best!

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×