-
AuthorPosts
-
June 22, 2007 at 10:20 am #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 Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 22, 2007 at 10:30 am #222584Hi 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.June 22, 2007 at 10:34 am #222585Thank you!! That’s exactly what I was after….so simple I should be embarrassed..haha..
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 22, 2007 at 10:39 am #222586You’re welcome,
Welcome to the forum. 🙂June 27, 2007 at 2:13 am #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 Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
June 27, 2007 at 2:56 am #222771No Problem. 😀
-
AuthorPosts
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