1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 RM tagline chartacters increase

Discussion in 'Styling and Customization Questions' started by reddy ink, Oct 22, 2014.

  1. reddy ink

    reddy ink Active Member

    How to increase the characters displayed on resource index. Appreciate the help
    upload_2014-10-21_21-47-17.png
     
  2. Amaury

    Amaury Well-Known Member

    Try this:

    Code:
    .resourceListItem .main .tagLine {
        font-size: 15px !important;
    }
    Use whatever size you want.
     
  3. reddy ink

    reddy ink Active Member

    I would like to increase the number of characters (text) displayed for each list item on resouce index (main resources).

    Thank you for the reply. I think your answer helps increase the size of the text.
     
  4. Amaury

    Amaury Well-Known Member

    You'll have to wait for someone else to respond, then. We don't have the resource manager add-on.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    There is no option to change that.
    It is fixed in code and the database.
     
  6. reddy ink

    reddy ink Active Member

    Database can be changed Tag_line VARCHAR from 100 to 200.

    Where do I need to change in the code??
    Thank you,
     
  7. Chris D

    Chris D XenForo Developer Staff Member

    The file to change is:
    library/XenResource/DataWriter/Resource.php

    Find:
    PHP:
    'tag_line' => array('type' => self::TYPE_STRING'required' => true'maxLength' => 100,
    Change to:
    PHP:
    'tag_line' => array('type' => self::TYPE_STRING'required' => true'maxLength' => 200,
    An add-on would be better for this but I'm not currently aware of one. You will also need to re-edit the code after each time you upgrade Resource Manager.
     
    reddy ink likes this.
  8. reddy ink

    reddy ink Active Member

    Chris D likes this.

Share This Page