Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • mpimagery Friend
    #120996

    Hi Guys

    My webdev guy totally flaked on me and has left me to re-develop my website.. Fortunately I stumbled across JoomlArt and most of my problems have been solved..

    I’m just doing some site tweaks now and need a little help doing a config on the JA-Newsflash module. Here’s my site – I’m With The Band

    What I’d like to do is to change the title so that it sits in the middle of the module..

    The current setup is the default one;

    <div style=”overflow:hidden; height:323px;” >
    <div class=”nfimages”>##IMAGE##</div>
    <div class=”nftitle”>##TITLE##</div>
    <div class=”nfcontent”>##CONTENT##</div>
    </div>

    I know a little html, but php is new to me.. What should I add in to center the title??

    Thanks in advance for the help guys!!

    instantinlaw Friend
    #222584

    Hi you can try this

    <div style="overflow:hidden; height:323px;" >
    <div class="nfimages">##IMAGE##</div>
    <div align="center" class="nftitle">##TITLE##</div>
    <div class="nfcontent">##CONTENT##</div>

    But, I think what you really want to do is modify the css for the module in question. I don’t use that template, but you can search your templates css files for the class nftitle and add a center atribute to it instead of hacking the module.
    Good luck.

    mpimagery Friend
    #222585

    Thank you!! That’s exactly what I was after….so simple I should be embarrassed..haha..

    instantinlaw Friend
    #222586

    You’re welcome,
    Welcome to the forum. 🙂

    mpimagery Friend
    #222766

    <em>@instantinlaw 18828 wrote:</em><blockquote>Hi you can try this

    <div style="overflow:hidden; height:323px;" >
    <div class="nfimages">##IMAGE##</div>
    <div align="center" class="nftitle">##TITLE##</div>
    <div class="nfcontent">##CONTENT##</div>

    But, I think what you really want to do is modify the css for the module in question. I don’t use that template, but you can search your templates css files for the class nftitle and add a center atribute to it instead of hacking the module.
    Good luck.</blockquote>

    Ahh ok, that makes a little more sense.. I’ll check it out..

    And thanks for again for the help..

    instantinlaw Friend
    #222771

    No Problem. 😀

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

This topic contains 6 replies, has 2 voices, and was last updated by  instantinlaw 17 years, 4 months ago.

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