Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • dmason Friend
    #161094

    I would like to load an article in the User 1 Position. I have tried using Custom HTML to insert the desired text, however the text is always centered as opposed to left hand aligned.

    How can I get this text to be left hand aligned? Or is there a better way to accomplish what I want (specific article in User1 module)?

    Thanks.

    Phill Moderator
    #379925

    Please post a link you your page so we can see the problem for ourselves.

    dmason Friend
    #379929

    Here you go. http://conciergefinancialoffice.com/aboutus

    I would like the text in the module to be left hand aligned. Is there a way (other than Custom HTML) to load a specific article in the module?

    Phill Moderator
    #379932

    A custom html module is the best way here. In this case the module in question is getting the text-align:center from the folowing code in template.css at line 525


    #ja-topsl .module div div div {
    border:0 none;
    padding:0;
    text-align:center;

    }

    You could either change that to


    #ja-topsl .module div div div {
    border:0 none;
    padding:0;
    text-align:left;

    which could cause some unwanted results.

    Personally I would simply create a custom module suffix containing that code and add it in the template manager.

    In the module manager add in the Module Suffix box .lefttext

    At the bottom of template.css add the following code

    .lefttext {text-align:left !important;}

    dmason Friend
    #379949

    Thank you for your help. I have added the following code to the template.css file as you suggest

    .lefttext {text-align:left !important;}

    But I am unclear on how to get this custom module to appear in the User1 position?

    Phill Moderator
    #379950

    The same way you normally would with Joomla. You just apply the suffix in the module manager.

    If you PM me an admin login I will set it up for you.

    dmason Friend
    #379974

    Thank you. For my own learning I would like to figure out how to do this. Is there any reading I can do regarding this?

    I’ve added custom module positions to be inserted in an artilcles before (ie. {loadposition module}. Am I trying to load this custom module into the User1 position (Custom HTML) via {loadposition .lefttext} in the same fashion?

    If so, the only trouble is that I have several different articles that I want displayed in modules. Would I have to create a custom module name for each article? If so, would I simply add the following code to the template.css for each instance?

    .name {text-align:left !important;}

    Am I way off or on the right track? Thanks for your continued help.

    Phill Moderator
    #380017

    Are you trying to put a module in an article or an article in a module? {loadposition} is used to put a module in an article which is something ver different from what I thought you were trying to do.

    dmason Friend
    #380086

    Yes, I am trying to put an article in a module. Howver, I have a different article for each page of the site.

    Phill Moderator
    #380089

    PM me an admin logon and I will setup the first for you so you can copy it to the other pages.

    dmason Friend
    #380930

    Hi Phil,

    I sent you this info a while ago. Did you get it? Were you able o figure anything out?

    Thanks again.

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

This topic contains 11 replies, has 2 voices, and was last updated by  dmason 13 years, 8 months ago.

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