Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • jm1100 Friend
    #208869

    Hi,

    I guess this a noob question, but this is what I am…

    So, I need to add an option in the module setting to justify the text. There is already this kind of options, like left, center and right but not the “Justify” one.
    For exemple in the hero / style-3 module.

    Could you explain how to do it step by step please ? This could be usefull for other kind of customization of php or css files.

    Many thanks

    JM

    Saguaros Moderator
    #577735

    Hi JM,

    Could you illustrate the modification you expect via screenshot? I will help you.

    jm1100 Friend
    #577804

    Sure.

    Here is the front end :

    Here is the admin panel I’d like :

    I have several uses of this module, that’s why I want to have the option available, but not to force it in every case.

    Regards,

    JM

    jm1100 Friend
    #644098

    Sure.

    Here is the front end :

    Here is the admin panel I’d like :

    I have several uses of this module, that’s why I want to have the option available, but not to force it in every case.

    Regards,

    JM

    jm1100 Friend
    #742733

    Sure.

    Here is the front end :

    Here is the admin panel I’d like :

    I have several uses of this module, that’s why I want to have the option available, but not to force it in every case.

    Regards,

    JM

    Saguaros Moderator
    #577911

    Hi JM,

    As I can see that you’re using JA ACM – Hero style 3, so you can open this file: root/templates/uber/acm/hero/tmpl/style-3.xml


    <field name="hero-text-align" type="list" default="text-left"
    global="1"
    label="HERO_TEXT_ALIGN_LABEL"
    description="HERO_TEXT_ALIGN_DESC">
    <option value="text-left">JGLOBAL_LEFT</option>
    <option value="text-center">JGLOBAL_CENTER</option>
    <option value="text-right">JGLOBAL_RIGHT</option>
    <option value="text-justify">JGLOBAL_JUSTIFY</option> <<< add this line
    </field>

    This will help to add a new option for justify alignment in back-end.

    You then can select this option and see the changes in front-end.

    jm1100 Friend
    #577995

    It works fine. thanks !

    jm1100 Friend
    #644286

    It works fine. thanks !

    jm1100 Friend
    #742919

    It works fine. thanks !

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 2 voices, and was last updated by  jm1100 9 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum