0

I am trying to add custom css to wordpress page. Which is trying to load an image from the gallery for some reason though certain parts of the css are not working. Not sure if this has to do with the css or wordpress. Here is the css that i am trying to add and its not working:

I tried changing the font size which doesn't work, it does let me change the font family but not the size

@import "url(http://fonts.googleapis.com/css?family=Bree+Serif)";
.widgettitle{
font-family: 'Bree Serif';
font-size: 150px;
}

Now if i try to add a background image nothing shows up:

.widgettitle{
background-image:url(/wp-content/uploads/2015/05/small_pic.png);
}

1 Answer 1

0

#sidebarSubnav h3 is not letting your Custom CSS to work since it already contains !important for its style properties.

Place your code below the above selectors or load the custom css file after the default stylesheet.

6
  • thank you for your quick response, but that still doesn't work Commented May 7, 2015 at 18:01
  • Share the link of your page. Commented May 7, 2015 at 18:04
  • Answer updated, Brad. Commented May 7, 2015 at 18:15
  • is there a way to override Commented May 7, 2015 at 18:16
  • Place your code below the above selectors or load the custom css file after the default stylesheet. Commented May 7, 2015 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.