• Hi Folks,

    I have seen other threads on this topic, but I unfortunately wasn’t able to locate what to change in my theme’s css.

    I’m using Sydney theme and the space between paragraphs just looks a little close – not the end of the world, but it would be nice if there was a little more breathing room.

    Thanks a lot,
    PB

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hey there Parka Boyd,

    How are you doing today?

    To increase the space between paragraphs with CSS please try adding the following CSS code in the style.css file of your child theme or add it in your site using the following plugin:

    http://ww.wp.xz.cn/plugins/simple-custom-css

    p {
        margin: 0 0 10px;
    }

    Note that this is the original margin on the paragraphs and to increase it please increase the last numeric value to what ever suits you the most.

    Hope this helps 🙂

    Cheers,
    Bojan

    Thread Starter Parka Boyd

    (@parka-boyd)

    Thanks so much Bojan, yes that will help I’m sure. Is it possible to add in the code without installing the plugin?

    I’ve heard that plugins begin to slow your site down and that you should try stick to 5 or less – what’s your opinion on this?

    Thanks again,
    PB

    Thread Starter Parka Boyd

    (@parka-boyd)

    Sorry, just saw that you said to add it in the style sheet OR with the plugin 🙂

    If I add it straight into the style.css, do I need to put it anywhere specific, like under any specific heading? Sorry, non-coder here!

    Thanks,
    PB

    Hey again Parka Boyd,

    I’ve said style.css of your child theme. Editing theme core files is not a good thing since all changes will be lost once you update the theme so unless you’re using child theme you’d want to use the plugin I mentioned above.

    Yes, a lot of plugins can slow down your site. This is not necessarily related to number of plugins but rather number of complex plugins that have a lot of functionalities. Simple Custom CSS is really simple plugin that has a CSS file that loads after your theme style.css which will definitely not slow down your site.

    If you still want to add this to your theme style.css a good idea would be to add it at the bottom of the code so it overrides styles that uses the same selector.

    Hope this makes sense 🙂

    Cheers,
    Bojan

    Thread Starter Parka Boyd

    (@parka-boyd)

    Hi Bojan,

    Yes, that makes sense and really good to know about this plugin too. I’ve been hearing about child themes but I will need to do some research into them, as I wouldn’t know where to start.

    But I’ll definitely use the advice you’ve given me here first. Thanks for taking the time to reply, I really appreciate it!

    Take care,
    PB

    Hey again,

    Glad I could help 🙂

    Creating child theme isn’t really that hard, in case you decide to create one you’ll find instructions how to do so on one of the following links:

    http://codex.ww.wp.xz.cn/Child_Themes
    http://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/

    Have a great day!

    Cheers,
    Bojan

    Thread Starter Parka Boyd

    (@parka-boyd)

    Thanks again Bojan, I’ll definitely be giving that a read!

    Just a quick one in terms of plugins: how do I know whether a plugin is going to adversely effect my site (besides the obvious slow page load times)? Is there anything to look for when I’m considering installing a new plugin?

    For example, when I installed the Sydney theme, they immediately recommended that I install Types plugin and Pagebuilder plugin, which are supposed to help Sydney to run optimally and ensure full functionality of the theme.

    I don’t need anything fancy in a theme, but I do like some of the elements that Sydney offers.

    Thanks,
    PB

    Thread Starter Parka Boyd

    (@parka-boyd)

    Oh, and Simple Custom CSS works like a charm – thanks 🙂

    Hey again Parka Boyd,

    That’s really hard to say and it highly depends on the plugins you install and the amount of functionality they offer.

    I’ve seen sites with over 50 plugins installed that worked without any real performance issues so you don’t really have give that much importance to it. My advice on this would be to carefully pick plugins you want to use and make sure to remove plugins that you’re not using.

    As for the theme plugins, some theme recommend plugins other themes have plugins that are required for theme to run, so depending on that you can choose whether you’ll install them or not.

    Hope this helps 🙂

    Cheers,
    Bojan

    Thread Starter Parka Boyd

    (@parka-boyd)

    Hi Bojan,

    Great, thanks! Wow, 50? That’s crazy talk. Interesting to hear different peoples’ take on this.

    I’m a bit of a minimalist myself, so I’d never keep anything installed that wasn’t adding to the site. ‘If you’re not using it, chuck it out,’ that’s my motto.

    Anyway, thanks for all your assistance – much appreciated 🙂

    PB

    Glad I could help 🙂

    Have a nice day!

    Cheers,
    Bojan

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Spacing Between Paragraphs CSS’ is closed to new replies.