4

In my source, I have the following code:

<style>
/*Twenty Twelve fixes and other theme fixes and styles :( */

.flex-caption {
     background: #000;   
     -ms filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); 
     zoom: 1;
 }

/*...*/
</style>

This is not within my personal CSS file and i have no idea where this is being pulled from.

I am linking to my external CSS file as per Wordpress Codex to include a stylesheet as per below:

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />

What do I need to do to remove this CSS?

EDIT*

this has now been fixed.

10
  • Why don't you just search the files on disk for this string of text? That will tell you where it's coming from pretty easily. You can probably limit the search to just the /wp-content folder. Commented Dec 19, 2012 at 15:56
  • Inspecting it w/ Chrome or using the IE dev tools should help you track down the culprit... Commented Dec 19, 2012 at 15:56
  • Hi Rikon, unfortunately im not very knowledgable on those tools, i will see if i can find it elsewhere, thanks Commented Dec 19, 2012 at 15:57
  • Hi Ek0nomik, as i said this is not within my CSS at all, so all i can think of is that its coming from some dodgy source that i dont know about :S Commented Dec 19, 2012 at 15:57
  • 3
    Kirsty both those are valid ways for find and solve your problem. You can't just dismiss them like that and expect help. Commented Dec 19, 2012 at 16:00

3 Answers 3

0

It looks like you started with either WordPress's TwentyTwelve theme, or another theme which inherited from it and made changes from there. If you look at /wp-content/themes/head.php I think you may find the offending styles in there.

Sign up to request clarification or add additional context in comments.

Comments

0

If it's not in your CSS it's probably in header.php

Go to Appearance > Editor > Header (header.php)

Comments

0

I have figured what was generating this and removed. It was a plugin, and it was one that I'm not using.

NextGEN gallery plug in generates this.

Comments

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.