Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
About This Guide
-how to make different header in each section (well different xg_masthead's background)
Url (http://yournetwork.com/) | Class |
/groups | .xg_widget_groups |
/profiles/appearance/edit | .xg_widget_profiles_appearance_edit |
/profiles/settings/editProfileInfo | .xg_widget_profiles_settings_editprofileinfo |
/video | .xg_widget_video |
/events | .xg_widget_events |
/photo | .xg_widget_photo |
/profiles/blog/list | .xg_widget_profiles_blog_list |
/main/invitation | .xg_widget_main_invitation |
/page | .xg_widget_page |
/profiles/members | .xg_widget_profiles_members |
/ | .xg_widget_main_index_index |
You can change anything in #xg with this, including #xg_masthead background, xg_head, xg_module_head, module_member etc
__(the spesific class that show page)______ #xg_masthead {background-image:url(your_image_url) !important;}
.xg_widget_video #xg_masthead {background-image:url(your_image_url) !important;}
.xg_widget_profiles_profile_show.xg_colgroup .first-child {margin:0;width:950px;}.xg_widget_profiles_profile_show .xg_3col .xg_2col, .xg_widget_profiles_profile_apps .xg_3col .xg_2col {margin-right:2px;overflow-x:hidden;overflow-y:hidden;padding:0;padding-left:10px;padding-right:6px;width:615px !important;}.xg_widget_profiles_profile .xg_3col .xg_1col {margin-left:10px;overflow-x:hidden;overflow-y:hidden;width:295px;}.xg_last, .last-child {margin:0;}.xg_2col.xg_widget_profiles_profile_show .feed-timestamp {left:500px;top:4px;}
.xg_widget_profiles_profile_show .xg_column.xg_span-4.xg_last{ display:none;}
.xg_widget_profiles_profile_show #xg_masthead{background-image: url(your_image_url/bla.jpg) !important; }
.xg_widget_groups #xg_masthead {background-image:url(your_image_url/bla.jpg) !important; }
.xg_widget_video #xg_masthead{background-image:url(your_image_url/bla.jpg) !important;}
.xg_widget_profiles_appearance #xg_masthead, .xg_widget_profiles_settings #xg_masthead {background-image:url(your_image_url/bla.jpg) !important;}
.xg_widget_page #xg_masthead {background-image:url(your_image_url/bla.jpg) !important;}
.xg_widget_forum #xg_masthead {background-image:url(your_image_url/bla.jpg) !important;}
.xg_widget_photo #xg_masthead {background-image:url(your_image_url/bla.jpg) !important;}
.xg_widget_main_invitation #xg_masthead {background-image:url(your_image_url/bla.jpg)!important}
.xg_widget_profiles_blog #xg_masthead {background-image:url(your_image_url/bla.jpg) !important;}
.xg_widget_events #xg_masthead {background-image:url(your_image_url/bla.jpg) !important;}
Love SoraChii - Sora Tan @Sora's Creation
Tags:
Replies are closed for this discussion.
oh i'm really sorry, this tip won't apply to ds
because the html structure is different than in ds
but i give one of alternative like using #xg_body, because now #xg is only wrapping #xg_body = it's the same with #xg = #xg_body
IN OLD EDITOR, the #xg_masthead is in .xg_widget_profiles_blog
but in DS , the #xg_masthead is NOT in .xg_widget_profiles_blog
That means it this tip won't work :( - using css i mean D:, maybe you can using script but i doubt it.
Thanks Sora. When I have time, I'll try to catch up on the comments.
Best Regards,
Jen
Jen or Sora - now that Ning is allowing custom CSS code in Pages, is it possible to change the masthead at least for Pages using some CSS?
Just wondering.... I'm really keeping my fingers crossed that a work around will be found to allow changing the masthead image some day.
Cheers!
Rob
Actually Yes, in that specific page.
just put this code in the custom
<style>
#xg_masthead {
background : transparent url(your_pict) no-repeat scroll 0 0 !important;
height : yourimageheightpx !important;
}
</style>
Was just about to add this tip, and background. Thanks Sora!
I'll create full tips soon.
=)
At first glance, looks very nice! Love your image above.
Thank you for sharing,
Jen
See! Now that's what I'm talking about! Great work there Clive - it looks fantastic. But I do have one question, that I'm almost afraid I already know the answer to..... Are you using Design Studio or the old editor?
Thanks in advance!
Rob
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 Themes - Rosas Negras Mar 20, 2021. 0 Replies 0 Favorites
Started by JenSocial. Last reply by Kos Dec 6, 2016. 64 Replies 4 Favorites
Started by JenSocial. Last reply by JenSocial Jul 26, 2016. 41 Replies 1 Favorite
© 2024 Created by JenSocial. Powered by
© Copyright JenSocial.