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

NC for Hire

Add Text Before or After Module Headers

I just had a member on JenSocial ask this question, and thought it warranted a great quick and dirty CSS tip.

 

He wanted to change his home page Video Module title to "Featured Videos". When he changed via the Language Editor, it got confusing and was changed in more places than he wanted.

 

Here's a nice way around a situation like this. You can use the CSS property called: content, to add text or an image, before or after any CSS element. For example in this case:

 

Add this code to your Advanced CSS, via My Network/Settings/Appearance:

.xg_widget_main .module_video .xg_module_head h2:before {content:'Featured ';}

 

This will change your Video Module header from Videos to Featured Videos.

 

You can also add images. A nice place to do this on a Ning site is before or after the main page headers. You need to add a small image, like an icon 16 by 16. Here's the example code:

 

.xg_headline .tb h1:before { content: url(yourimagelink); }

 

Enjoy,
Jen

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

  • THANKS..nice tip

  • BIGGGGGGGGGGGGGGGGGGGGGGGGGG

     

    Great tip, still can find the modules for activity, groups, leaderboards but it works fine with blog posts, events, forum and videos...

     

    thank you for that

  • thanks, Jen! i had that same issue with Featured Videos and now i can change it.

  • NC for Hire

    Happy to hear this is helpful to you all!

    Best,

    Jen

  • Hi Jen. You shared a tip a while ago for adding images in module headers... I tried to find it with no luck :(
  • Great trick, thanks for sharing. Is there a bit of code that will actually replace the title with this text?

    For example, rather than the app box on the Main Page reading "Blog Posts" I'd like to change it entirely to "Member News."

     

     The before: and after: operators are useful- but how do you replace :)

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

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
Luxury Residences updated their profile
Dec 6, 2024
Asumi Carol updated their profile
Dec 2, 2024
Shada Hotel updated their profile
Nov 29, 2024
Howard Sands replied to Mark Thorpe's discussion
NING is broken?
"I am not a techie, I don't understand the first thing about it, but have a HUGE problem with Ning…"
Nov 27, 2024
Howard Sands replied to Donna MacShoe's discussion
Ning Support phone number for my 20 yr old site
"I hope this helps
Ning  https://www.ning.com/contact-us/
1-855-233-6436 (USA/Canada Toll Free)…"
Nov 27, 2024
More…

Meanwhile, you can check our social media channels