0
Welcome Guest! Login
0 items Join Now

SOLVED Change text color in article, Leviathan template

  • SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • How can I change text color in article, Leviathan template?

      Thank you
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • Which piece of text are you referring to on that page ? Please do a screengrab of your problem and annotate to make it clear.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • I did a screengrab and link.

      Thank you.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • Use this code...
      .component-content article p {
          color: green;
      }
      This is how to create a custom CSS compatible with Gantry 4...

      Simply create a file called "<TEMPLATENAME>-custom.css" and put this file in the CSS folder of the template (where <TEMPLATENAME> is the name of the template as seen in template manager e.g. rt_fracture). GANTRY4 will automatically load this CSS file. If you wish, you can also have browser specific files by appending, for example, "-ie9" making the filename "<TEMPLATENAME>-custom-ie9.css"

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • I create the file then I upload it, but nothing changed.
      Mabe I need to put some code into text?

      Thank you
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • Clear your browser cache - it is working.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • Yes, it is working but i wanted only a phase or word to be in a diferent color.
      Thank you.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • The just use a span tag around the word of phrase In your article...
      <p>This is some <span style="color: red;">red colored</span> text.</p?

      Regards, Mark.
    • The following users have thanked you: Matei Valentin

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Change text color in article, Leviathan template

    Posted 10 years 9 months ago
    • YES, this is what I'm looking for :)
      Thank you very much.

Time to create page: 0.071 seconds