WordPress.org

Forums

[resolved] unwanted drop shadow to text (2 posts)

  1. bryan.MCS
    Member
    Posted 1 year ago #

    this website is my current project. it uses a child customizr theme. i cannot for the life of me figure out how to remove the drop shadow on the text in the header. i did not do anything to put it there, but i notice that it doesn't appear to be an issue with other sites. i am using a font importing script in the functions.php, but it is straight out of google font's recommended method, and the script from the snippets section of cutomizr's website. i don't think it's that particular font, because there is no issue anywhere else in the site. i can't figure out why it is doing that in the header, and it is unwanted by my client. please advise.

  2. bryan.MCS
    Member
    Posted 1 year ago #

    i used the buckshot approach so, i'm not sure which one of these did the trick, but this worked.

    .navbar .nav > li > a {
      font-family: 'EB+Garamond', serif;
      padding: 5px 8px 5px 8px;
      font-size: 12pt;
      color: #330033;
      text-decoration: none;
      text-shadow:      0 0px 0px;
      white-space:nowrap;
    }
    .navbar .nav > li > a:first-letter {
      font-size: 16pt;
      font-color: #330033;
      text-shadow:      0 0px 0px;
    }
    
    .brand a{
      font-family: 'EB+Garamond', serif;
      font-size: 30px;
      font-color: #333333;
      text-shadow:      0 0px 0px;
    }
    
    .site-title a{
      font-family: 'EB+Garamond', serif;
      font-size: 30px;
      font-color: #333333;
      text-shadow:      0 0px 0px;
    }

    the code of interest is the:

    text-shadow: 0 0px 0px;

    turns out that my syntax was wrong before, i was trying to tell it 'none;' but i guess that doesn't work. just in case anyone else runs into this problem...

Topic Closed

This topic has been closed to new replies.

About this Topic