Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
Style Profile Page Questions/Answers:
I've written this tip before, and thought I'd revamp it a little. On most Ning sites, when you visit a Profile Page, and view Profile Questions/Answers, it's usually difficult to figure out questions versus answers. With most of the default Ning Themes, the Profile Questions don't stand out very well. I'm going to share some simple CSS that will make your Profile Questions stand out better. Be sure to add this CSS to Custom Code Box, versus Advanced CSS. We want to try and override custom Profile Pages, when possible. Adding the CSS to the Custom Code Box, wrapped in a style tag, should do it.
I'm going to provide 2 examples, 2 sets of code. The first one will add a subtle semi-transparent gray background behind the profile questions, change the text color/size, font weight, add padding, add a subtle border, etc... The second example will add the same background behind the entire block: question and answer. Notice: I make the font size smaller for private questions. It helps take up less space when a Member is viewing their page.
Background Color Hint: If you don't know how to add your preferred background color using RGB values, you can use a solid color for your background. Change these 2 lines:
background: rgb(200, 200, 200;)!important;background-color:rgba(200, 200, 200, 0.15);
TO:
background-color:#FFFFFF; - - CHANGE TO YOUR COLOR.
Instructions - Example #1 (Background color behind Profile Questions):
CSS: (contained in Style Tag)
<style>
/** Profile Question **/
.xg_widget_profiles .module_about_user dl dt { padding:7px;border:1px solid #E6E6E6 !important; background: rgb(200, 200, 200;)!important; background-color:rgba(200, 200, 200, 0.15); font-size:14px; color:#0088cc!important; font-weight:bold!important;}
/** Profile Answer **/
.xg_widget_profiles .module_about_user dl dd {font-size:12px; color:#333333!important; font-weight:normal!important;padding:0px 7px;}
/** Private Question **/
.xg_widget_profiles .module_about_user dl.private dt {font-size:10px; color:#333333!important; font-weight:normal!important;}
/** Private Answer **/
.xg_widget_profiles .module_about_user dl.private dd {font-size:10px; color:#cc0000!important; font-weight:normal!important;}
</style>
Instructions - Example #2 (Background color behind Profile Question/Answer):
CSS: (contained in Style Tag)
<style>
/** Profile Question/Answer Block Background Color **/
.xg_widget_profiles .module_about_user dl { padding:7px;border:1px solid #E6E6E6 !important; background: rgb(200, 200, 200;)!important; background-color:rgba(200, 200, 200, 0.15);}
/** Profile Question **/
.xg_widget_profiles .module_about_user dl dt { padding:7px; font-size:14px; color:#0088cc!important; font-weight:bold!important;}
/** Profile Answer **/
.xg_widget_profiles .module_about_user dl dd {font-size:12px; color:#333333!important; font-weight:normal!important;padding:0px 7px;}
/** Private Question **/
.xg_widget_profiles .module_about_user dl.private dt {font-size:10px; color:#333333!important; font-weight:normal!important;}
/** Private Answer **/
.xg_widget_profiles .module_about_user dl.private dd {font-size:10px; color:#cc0000!important; font-weight:normal!important;}
</style>
Enjoy!
Jen
Tags:
Well, looks like everyone is wearing white shirts, gone is the days of color shirts.
Okie dokie. =)
Yeah, I prefer light colors. But, you can change the colors to whatever you want.
Best,
Jen
On other sites maybe but no customized on my page here....:)
I am really sorry. I had no idea that feature was shut off when we moved over to DS. Apparently, it has to be turned back on. You should be able to do most anything now, except for code I use to overwrite profile pages. The latter should be barely noticeable.
Best,
Jen
Oops! Are you all trying to tell me that you can't customize your pages? I'll run and check. If yes, my apologies!
Hey, watch it. LOL Yeah, something like that. ;-)
Thanks for letting me know,
Jen
Ning 3
.aboutTab-question {
font-weight:bold!important;
font-style:normal!important;
}
Welcome to
JenSocial: Social Web Directory and Ning Tips
Posted by JenSocial on May 7, 2018 at 8:35pm 9 Comments 1 Favorite
Posted by JenSocial on January 6, 2017 at 4:00pm 10 Comments 1 Favorite
Posted by JenSocial on October 22, 2016 at 1:05am 0 Comments 0 Favorites
Posted by JenSocial on September 17, 2016 at 12:00am 26 Comments 1 Favorite
Posted by JenSocial on August 31, 2016 at 3:30pm 13 Comments 0 Favorites
Ning 3.0 Tip - Add Buttons/Links Below Status Update (Quick Links to Add Photos, Posts, Discussions)
Started by Ning.spruz.com in Ning 3.0 Feb 19. 0 Replies 0 Favorites
Started by Evelina in Ning 3.0 Aug 30, 2023. 0 Replies 0 Favorites
Started by Evelina in Ning 3.0 Aug 27, 2023. 0 Replies 0 Favorites
© 2024 Created by JenSocial. Powered by
© Copyright JenSocial.