0
Welcome Guest! Login
0 items Join Now

Changing the "Read More" class and text globally

    • cruizer's Avatar
    • cruizer
    • Rocketeer
    • Posts: 94
    • Thanks: 0

    Changing the "Read More" class and text globally

    Posted 16 years 3 months ago
    • I want to do a global change of the "Read More" links; what you get when you create an article and click the "Read More" button for the intro breaks.

      I am not looking to manually edit the HTML in the article itself. Asking a client to learn HTML and remember to change this every time they create an article will not go over well.

      Somewhere there is code that defines when this page is created, to use a specific class and specific text. I am looking for that code to change the class and the text used. Where can I find that?
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: Changing the "Read More" class and text globally

    Posted 16 years 3 months ago
    • The CSS class is .readon

      The text is in language/english.php and is defined next to _READ_MORE
    • Ragdata's Rubber Duck
      www.ragdata.net/
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Changing the "Read More" class and text globally

    Posted 16 years 3 months ago
    • And just to round this up ...

      Here’s a visual reference how J! output is styled with CSS

      www.m65.net/JTK3XCSS/index.php

      Note: RT-templates starting from 2009 work with template-oeverrides ... so it gives just an idea ...
    • cruizer's Avatar
    • cruizer
    • Rocketeer
    • Posts: 94
    • Thanks: 0

    Re: Changing the "Read More" class and text globally

    Posted 16 years 3 months ago
    • Ragdata wrote:
      The CSS class is .readon

      The text is in language/english.php and is defined next to _READ_MORE

      Umm, I don't have a english.php....
    • cruizer's Avatar
    • cruizer
    • Rocketeer
    • Posts: 94
    • Thanks: 0

    Re: Changing the "Read More" class and text globally

    Posted 16 years 3 months ago
    • I found out from another forum that the file I am looking for is en-GB.ini
      line 261. There it defines the text used for the Read More section. Once I got that, I was able to cheat the .css to make "readon" the same as "readon2"

      I would have preferred to be able to change where the .css is defined for Read More, but this works as well. It' just not the correct way to do it.

Time to create page: 0.206 seconds