0
Welcome Guest! Login
0 items Join Now

SOLVED Text Color Throughout Site

  • SOLVED Text Color Throughout Site

    Posted 8 years 6 months ago
    • How can I change the text on articles and elsewhere where it seems to default to a light grey to just be black #000000 ? This should really be a feature in the template settings unless I'm blindly missing it.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Text Color Throughout Site

    Posted 8 years 6 months ago
    • What template?
      What Gantry?
      link to your site?

      Please post in the correct forum (usually template forum) otherwise it's more difficult to give you an immediate answer.

      Regards, Mark.
    • Last Edit: 8 years 6 months ago by MrT.
    • 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 Text Color Throughout Site

    Posted 8 years 6 months ago
    • This message contains only secure information that is visible to Robert Tee, moderators and administrators
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Text Color Throughout Site

    Posted 8 years 6 months ago
    • You still continue to put vast amounts of inline styling into your article content. Overriding this with CSS is really hard to do - remove ALL of the inline styling that you are putting into articles.

      Then Use this code...
      article {
        color: pink;
      }

      change color to suit your needs.

      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_iridescent would be rt_iridescent-custom.css). 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 Text Color Throughout Site

    Posted 8 years 6 months ago
    • Thanks.

      I'm testing this on a localhost site and it's working fine for articles. However, I have an afterburner2 site with a blog and contact page. It's not overriding the colors there (i have no inline styling on these pages) and the text is still a ligh grey.

      I am trying to understand how the template is automatically making all text light grey - can't this be changed in the template CSS somewhere?
  • Re: SOLVED Text Color Throughout Site

    Posted 8 years 6 months ago
    • I was able to get it.

      I'm going to use google fonts so I added the following custom CSS

      html body h1,
      html body h2,
      html body h3,
      body { font-family: 'Open Sans';
      color: black;
      }


      Working fine and making text dark.

      Thanks!

Time to create page: 0.083 seconds