0
Welcome Guest! Login
0 items Join Now

How to apply specific css to article link

  • How to apply specific css to article link

    Posted 15 years 6 months ago
    • Hi!

      I have this in template.css
      a {
      color:#323232;
      text-decoration:none;
      }

      which works fine.
      What i need to do is that any links in an article are shown in blue color.

      I have added this code to the end of template.css
      .contentpaneopen a:link,
      .contentpaneopen a:visited { background:#fff; color:#00f; font-weight:700; text-decoration:underline;}
      .contentpaneopen a:hover { background:#eee; color:#003; text-decoration:none; }

      Which does nothing, doesn't change anything.

      I've also tried adding:
      a.article_link {
      color:blue;
      font-weight:bold;
      text-decoration:underline;
      }

      and in the article:
      <p><span style="font-size: 12pt;">Envie-nos as suas questões para <a href="mailto:mail@mail.com" class="article_link">mail@mail.com</a></span></p>

      Anyone knows what i'm doing wrong?

      thanks
      Peter
  • Re: How to apply specific css to article link

    Posted 15 years 6 months ago

Time to create page: 0.045 seconds