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

Kenny Craig updated their profile
Sunday
Isabella Wilson updated their profile
Jun 5
Eva liked ⚡JFarrow⌁'s discussion What is going on with Ning? What Do We have to Look Forward To?
Jun 2
Eva liked Suave's discussion I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
Jun 2
Alex - Rosas † Negras posted a discussion
Jun 1
Alex - Rosas † Negras posted a discussion
May 28
Alex - Rosas † Negras replied to Suave's discussion
I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
"if you need I'm here, if you look in my discussions you will also find the playstil"
May 23
Alex - Rosas † Negras replied to ⚡JFarrow⌁'s discussion
What is going on with Ning? What Do We have to Look Forward To?
"Bizz ⚡JFarrow⌁ 
I'm sorry that many like us have worked so hard and given up, but at least I'm…"
May 23
⚡JFarrow⌁ posted a discussion
Back in the day, this community was jumping with activity.   But since the Ukraine war broke out we…
May 22
⚡JFarrow⌁ and Truebook are now friends
May 22
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I want to thank JOHN BIZLEY ( BIZZ) for his invaluable help, active icons on the Ning bar,CODES ADDED
"A thousand thanks"
May 20
Alex - Rosas † Negras replied to Pam Givens's discussion
Landing Page
"Pam Givens this is an example i created of an old 3.0 site"
May 20
More…

Meanwhile, you can check our social media channels