• I’m using a child of TwentyEleven, and would like to add a couple more text properties to use in the main content area of the static pages on my client’s website, but I’m unclear in what section of the style.css they belong, or whether they belong in the style.css file at all.

Viewing 5 replies - 1 through 5 (of 5 total)
  • What do you mean by “text attributes”? Can you provide some examples?

    Thread Starter TeqToo

    (@teqtoo)

    For instance, on this page, http://carriage-house-inn.com.50-22-24-130.servelink.com/?page_id=23 I would like to have some of the text – the list of awards, the quote from the magazine blog – to be in a somewhat different looking font to set it apart from the first paragraph. Probably a bit smaller. The only options open in the tinymce editor are Paragraph, Heading 1, Heading 2 (which both look pretty much the same to me), Heading 3 which is smaller, but solid caps and the lines are spaced pretty far apart, and then it lists Heading 4,5, and 6, but it doesn’t appear like they are any different from each other. I’d like to play with some different color choices and font properties. I have done some limited work with css, but I don’t want to create a mess by changing the wrong properties.

    Thread Starter TeqToo

    (@teqtoo)

    OK, I figured out how to add the “Font Sizes” button to the Tinymce editor menu, so that helps. It doesn’t give me the ability to change the colors, but it’s something, anyway.

    You should be able to add the relevant CSS to your child theme’s stylesheet.

    Thread Starter TeqToo

    (@teqtoo)

    OK, in the css editor in the Dashboard, I added

    h5 {
    	color: Blue;
    	font-size: 12px;
    	font-weight: bold;
    	margin: 0 0 .8125em;
    }

    and it shows up ok once I publish the page and view it. However when I’m using the tinymce editor, the appearance of h5 is unchanged in the visual screen. How do I get it to show there? I tried changing the editor-style.css file in the main twentyeleven folder, but that didn’t seem to do it.

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

The topic ‘[Theme: TwentyEleven] Adding text attributes to style.css?’ is closed to new replies.