CSS issue driving me insane.

by irawr Banned
5 replies
  • WEB DESIGN
  • |
Ok. I have h1 set to have text shadows in my main theme.

I'm using a page builder (for the index page), when that stylesheet loads, it resets everything with it's classes.

The page build assigns unique classes to everything.

Great fine.

So I'm using inline code to put the shadow back, not a problem.

Except it doesn't work.

Everything else works, but for some stupid reason, unless I uncheck the clear rule with firebug (which is crossed off), the text will not have shadows. What the heck is going on here?

Code:
<h1 style="text-transform: uppercase;text-shadow: 2px 2px #ff0000;"><strong>Test</strong></h1>
It will be all uppercase with no shadow...
#css #driving #insane #issue
  • Profile picture of the author irawr
    Banned
    Whatever. I quit. I just modded the CSS file. I really didn't want to do that because when the plugin updates it might overwrite the file leading to massive jacking around later.

    I absolutely no idea why inline CSS wouldn't override the style sheet.

    Would love to know if anybody knows.
    {{ DiscussionBoard.errors[10650839].message }}
    • Profile picture of the author MattStrange
      What about using !important declaration?

      Code:
      text-transform: uppercase  !important;
      text-shadow: 2px 2px #ff0000 !important;
      {{ DiscussionBoard.errors[10650848].message }}
      • Profile picture of the author irawr
        Banned
        Originally Posted by MattStrange View Post

        What about using !important declaration?

        Code:
        text-transform: uppercase  !important;
        text-shadow: 2px 2px #ff0000 !important;
        Didn't work. No idea. Like I said, I just modded the plugin's stylesheet, got tired of screwing around.
        {{ DiscussionBoard.errors[10651741].message }}
  • Profile picture of the author betterjan
    Hello, sir your problem is easy solve, give your full page code or file, i will solve it in short time
    {{ DiscussionBoard.errors[10664463].message }}
  • Profile picture of the author betterjan
    you go to your html code and write your word by capital letter then increase your text-size then you will take solve or give me your file i will solve easily in short time
    {{ DiscussionBoard.errors[10664475].message }}

Trending Topics