Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

Hi all,

I have read some answers about centering module text, but this is using margin styling that just pushes the element by some percentage left or right which is not a true centered look. What if your header text happens to be 'Supercalifragilisticexpialidocious'?? no, just kidding :-)

Moving on, with this extra line of css code alone and now with the text-align:center finisher, you will truly get the right effect!

.xg_module_head h2 {
 float: none;
 text-align:center;
}

The Solution: the header module h2 styling has also a declared float:center on the base css code. You just need to cancel it by styling to float:none, THEN apply the normal text-align:center style attribute to get the right effect.

Hope this helps.

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • Hi  Ron 

    Possible to put pictures to illustrate the service of this code?

    • NC for Hire

      Sure classic, just updated the post (see above) How's it going?

      • ًwoooow

        Beautiful my friend.
        Thank you
        • NC for Hire

          glad you like it. sure thing classic.

  • THANK YOU THANK YOU THANK YOU! Since I have rounded the corners of the my modules for some time, this code helps the titles look cutoff.

  • NC for Hire

    you're welcome, glad you found it useful.

  • Thank you works a treat

  • NC for Hire

    You're welcome guys! glad you like this.

  • Thank you, Ron! The right (clean, non-hacked) way has always been the easiest to use as well!

    • NC for Hire

      sure thing G. right on!

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Paul Corona replied to Donna MacShoe's discussion
Ning Support phone number for my 20 yr old site
"NING support is useless anymore...I have respnded three times asking questins to a message they…"
Jan 15
Alex - Rosas † Negras posted a discussion
due to personal problems I have not been online anymore, I apologize so much and I am happy to be…
Jan 14
Alex - Rosas † Negras replied to Kos's discussion
Help w/Chat. Ning Support A No Go
"IL PROBLEMA È SEMPRE LO STESSO, NING GLI OPERATORI... DEVONO ELIMINARE I COOKIE SUL VOSTRO SITO"
Jan 14
Vlada replied to Kos's discussion
Help w/Chat. Ning Support A No Go
"I'm no IT expert by any means, but out of curiosity have you tried entering the chat room from the…"
Jan 8
Vlada replied to Eva Libre's discussion
Update, Merry Christmas
"Then add the recent price hike email that Ning has notified to be taking effect soon, I'm not…"
Jan 8
Kos posted a discussion
In November we began to notice Chat "freezing up" and when we would refresh the page, it would…
Dec 27, 2024
Eva Libre posted a discussion
UpdateMerry ChristmasToday I woke up totally frustrated and determined to do something.At the end…
Dec 26, 2024
Eva Libre liked Eva Libre's discussion Ning 3.0 is antisocial!
Dec 25, 2024
Eva Libre updated their profile
Dec 25, 2024
Eva Libre replied to Eva Libre's discussion
Ning 3.0 is antisocial!
"Update
Merry Christmas
Today I woke up totally frustrated and determined to do something.
At the…"
Dec 25, 2024
Pam Givens replied to Pam Givens's discussion
Landing Page
"What I meant to say, if I could spell:
I've attempted to create a landing page and have't had much…"
Dec 12, 2024
Pam Givens posted a discussion
I've attempted to crate a landing page and have't had much success.  I'd rather have one on my…
Dec 12, 2024
More…

Meanwhile, you can check our social media channels