• Resolved hejira

    (@hejira)


    Hey there–

    I love the shadow effect on the headline text, but would like to remove it from article or page paragraph text.

    I removed

    body {
    	background: #efefef;
    	font-family: 'Droid Sans', Arial, Helvetica, sans-serif;
    	color: #111111;
    	text-shadow: 2px 2px 2px rgba(200, 200, 200, 0.5);
    }

    from the stylesheet.css. This removed all of the shadow effect on all text. It works for me, but I like the dimension of the effect in the headers/titles.

    Is there another more limited way to achieve this?

    Thank you–you are a doll!
    H.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hejira

    (@hejira)

    actually I just removed the text-shadow line.

    Theme Author Chris Reynolds

    (@jazzs3quence)

    The best way to do this is probably to add this CSS to the Custom CSS:

    p {
    text-shadow: none;
    }

    Since <p> tags are automatically added by WordPress to your posts and formatted text, it will cover all of that stuff and leave the shadows on the headings. What it won’t do is remove the shadow for other things, for instance, if you have text in a text widget that isn’t wrapped by a <p> tag or lists (<ul> or <ol>), but if you needed to, you could add those to that CSS snippet, e.g.:

    p, ol, ul {
    text-shadow: none;
    }
    Theme Author Chris Reynolds

    (@jazzs3quence)

    (this way, too, you don’t need to worry about hacking the stylesheet and it’s adding a more limited scope to the effect, excluding it from the specific areas you want to exclude it and leaving it for everything else)

    Thread Starter hejira

    (@hejira)

    Perfect, that’s just what I wanted. It looks great now.

    Now you’ve helped me understand how to use custom css best, rather than trying to grok and edit or “hack” the stylesheet.css file. It’s better I avoid doing that until I get more versed in CSS and PHP and WordPress.

    Thanks a ton, Chris. Truly appreciate the help. <3
    H.

    Theme Author Chris Reynolds

    (@jazzs3quence)

    No problem. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘museum-core: remove shadow from paragraph text, leave it on headers’ is closed to new replies.