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

dark fear updated their profile
4 hours ago
dark fear liked Gerry Regan's blog post Ability to feature and unfeature lost, as is My Network page
5 hours ago
Suzie Nielsen replied to Suzie Nielsen's discussion
Why 3.0?
"I appreciate your honesty... it is not all that I pictured either so it is OK...
The merge sorta…"
8 hours ago
Suzie Nielsen replied to Suzie Nielsen's discussion
Why 3.0?
"Sorry, KOS I forgot to mention you! You are like my right arm, Tech and listens to my rants!"
9 hours ago
Rosas † Negras replied to Suzie Nielsen's discussion
Why 3.0?
"the welcome page is ok the rest looks like a paper to write"
11 hours ago
Rosas † Negras replied to Suzie Nielsen's discussion
Why 3.0?
11 hours ago
Rosas † Negras replied to Rosas † Negras's discussion
i managed to build my mp3 player .. now i need you webmaster
"you are a genius, i knew i could count on you ... thank you very much dear friend"
11 hours ago
Bizz replied to Rosas † Negras's discussion
i managed to build my mp3 player .. now i need you webmaster
"To have a scrollbar show up you need to set a max height to the playlist and then set the…"
12 hours ago
Cindy Dean Mccoy replied to Cindy Dean Mccoy's discussion
approve group members
"Let me know what you found.  I would love a more accurate list.  maybe Ning will use it as a go-by…"
12 hours ago
Suzie Nielsen replied to Suzie Nielsen's discussion
Why 3.0?
"May I see your site?"
13 hours ago
Suzie Nielsen replied to Cindy Dean Mccoy's discussion
approve group members
"Thanks! Glad you made a list! I was working on it!"
13 hours ago
Suzie Nielsen replied to Suzie Nielsen's discussion
Why 3.0?
"What do you mean? I created the network and I hired JFarrow to design my welcome page... please…"
13 hours ago
More…

Meanwhile, you can check our social media channels