0
Welcome Guest! Login
0 items Join Now

SOLVED css question

    • Dean's Avatar
    • Dean
    • Rocketeer
    • Posts: 95
    • Thanks: 0

    SOLVED css question

    Posted 4 years 1 day ago
    • I am editing a theme and the current theme css shows:

      <h4 class="rt-uppercase">THE SERVICE FRAMEWORK</h4>

      I want to create my own element so that the text is the same, apart from a colour change. I can sort the colour change thing but if I wanted to use:

      <h4 class="rt-uppercase2"> to define a different color, what would the syntax for that be in a custom css file?

      Thanks

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

    Re: SOLVED css question

    Posted 4 years 1 day ago
    • It's alway best to post your question in the appropriate template forum rather than "free stuff".
      .rt-uppercase2 {
          color: pink;
          text-transform: uppercase;
      }
      I don't know whether you are using Gantry 4 or Gantry 5 - but that code needs to code in the appropriate custom CSS file.

      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.
    • Dean's Avatar
    • Dean
    • Rocketeer
    • Posts: 95
    • Thanks: 0

    Re: css question

    Posted 4 years 1 day ago
    • Thanks again Mark and sorry, will place future questions in the right spot, and that worked perfectly. How do I deliver one of those thumbs up things? In a positive sense of course.

      Dean
    • Last Edit: 4 years 1 day ago by Dean.

Time to create page: 0.057 seconds