• here’s a link to the style sheet

    https://hardonhollywood.com/keepingviolet/wp-admin/theme-editor.php

    I’ve been reading other threads on this, but can’t find similar code in my style.css

    I really do need to change the style sheet, since I always want a space between paragraphs, and also to frame pictures I put in. It would be too tedious to have to put in line breaks all the time.

    So maybe someone here can point out exactly where/how on my style sheet I would do this.

    Thanks so much.

Viewing 15 replies - 1 through 15 (of 62 total)
  • here’s a link to the style sheet

    That URL is not to the twentytweleve stylesheet

    /wp-content/themes/twentytwelve/style.css would be the stylesheet.

    Thread Starter violetflower

    (@violetflower)

    Okay. In any event, can you see the page, and see what I need to do, or do I need to do something more here first..

    We can’t see your site without a link, no.

    Thread Starter violetflower

    (@violetflower)

    https://hardonhollywood.com/keepingviolet/wp-content/themes/twentytwelve/style.css

    okay, I think this is what you mean. I just tried it and it works.. so

    Do not make changes to the twenty twelve theme files. You must use a child theme or custom CSS.

    Some or all of the problems on your page is from copying from Word – it adds all kinds of crappy non-compliant code to your site – and it’s screwing up the CSS that’s already in the theme.

    See this:

    p.MsoBodyText3, li.MsoBodyText3, div.MsoBodyText3 {
        color: #666699;
        font-family: Sathu;
        font-size: 11pt;
        margin: 0 0 0.0001pt;
        text-align: justify;
    }

    Thread Starter violetflower

    (@violetflower)

    Are you saying I should be typing it in fresh, then?

    Absolutely – or use a plain text editor. Word really isn’t meant for websites and can cause major problems – much worse than messing up formatting.

    Thread Starter violetflower

    (@violetflower)

    Also, I do have a Child Theme. I’m confused. I seem to have to change the parent theme too. I made one change so far, so that the image I have only appears on the first page. But if I didn’t have it in the parent, then it didn’t work. So, I thought the child was working more as a back up, so I had that when I updated. Is this not true?

    If you need more “control” in the visual editor, check out this plugin:

    https://www.ads-software.com/plugins/ultimate-tinymce/

    You are not currently using a child theme – the child theme has to be activated to be using it. The child theme is not a backup – and you should not be making changes to the parent theme – those will all be erased when WP is updated.

    Thread Starter violetflower

    (@violetflower)

    Are you saying I should always be in the child theme, then? And so, I need to upload the background image, etc., since I’ll be keeping it in the child, since that’s where any changes will be?

    Also: even if I do type the article in fresh, it seems others here have a problem with having line spaces between paragraphs. Do you know if I will also have that problem? If so, what change do I need to make to the style.css [in the child] so that I always have a line space?

    Are you saying I should always be in the child theme, then? And so, I need to upload the background image, etc., since I’ll be keeping it in the child, since that’s where any changes will be?

    Yes.

    Paragraphs in twentytwelve HAVE space – I do not see any problems with it, but if you want to make that bigger you can – in the child theme in style.css file add this:

    .entry-content p, .entry-summary p, .comment-content p, .mu_register p {
        margin: 0 0 1.71429rem;
    }

    and change that number to something bigger.

    Thread Starter violetflower

    (@violetflower)

    Where do you recommend I place that?

    Also: do you recommend I import [through my website host] the entire Twenty Twelve style.css?.. since right now there’s just a line in the child that refers to importing it. And it means I have to keep moving code over bit by bit if I don’t do that. But, would that be too large a thing to move that way? (I’m hoping I don’t have to figure out the whole FTP thing now) (sigh)

    Do not put anything EXCEPT changes in the child theme style.css file. You will make a MUCH bigger mess for yourself if you copy the whole file. The whole parent file IS being imported already – if you copy it too, you duplicate code and make it much harder to keep track of what you have changed.

    You need to put that code just below the @import line – do you have other CSS there already (hope not) – but you need to activate the child theme first.

Viewing 15 replies - 1 through 15 (of 62 total)
  • The topic ‘Twenty Twelve adding code for line space between paragraphs’ is closed to new replies.