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

As you may or may not be aware the cover photos for the groups headers are cropped to a height of 160px so here is a bit of code to remove the crop so you can have a bigger sized picture, also some css which helps make them responsive.

First we add some code to our Social Site Builder > Custom Code > End Of Page to remove the crop

<script>
// Remove group header crop
x$(document).ready(function() {
x$('.groupHeader.groupHeader-coverPhoto').each(function() {
var removegroupHeaderCrop = x$(this).css('background-image');
x$(this).css('background-image', removegroupHeaderCrop.replace(/\&height=\d+\&crop=\d+\%\d+\A\d+/, ''));
});
});
</script>

Next we add some css to our design studio custom css, the Padding Bottom of 25% is what controls the height so you can adjust that to smaller or bigger depending on how big you want them

.groupHeader-coverPhoto {
padding-bottom: 25%!important;
height: 0!important;
position:relative
}

Extra tip

If you only want to change a particular group you can do so just by adding the page name at the start, so for instance my groups are called Groups and the page I want to change is Demo so the could would look like this and the part in bold is the part added

.page-groups-demo .groupHeader-coverPhoto {
padding-bottom: 25%!important;
height: 0!important;
position:relative
}

 

Hope you find it useful

Bizz :-)

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

  • Thank you very much I have applied it to my website and now it is much better

  • NC for Hire

    Wow..  cool idea!   I may try this.     Wonder if the same could be done for the funny crop of member profiles...thanks Bizz

     

  • NC for Hire

    thank you so much !!!!!!!! amazing is perfect you are a genius

  • All I can find is adding is a group image.  Where is it you can add a group cover?  Is ti the huge white space under the group image?

    • Hi Cindy,

      Please, make sure that this checkbox is enabled for the Group Hub in your Social Site Manager - Site & Pages
      Screenshot - https://take.ms/fv7I0

      Then, you'd be able to add a cover photo to your group while editing the group - https://take.ms/DtVgG

      Hope this helps!

      Kind regards,
      The Ning Team

      https://monosnap.com/file/MqiPr4sUeJTBx4gEBftc20iT3CMEuU
      Monosnap provides secure content management and scalable solutions for your business.
      • Thank you! Thank you! Thank you!  I knew that dead space at the top was for something.  I just could not figure out for what.  Now I can have pretty covers on my groups!

         

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

⚡JFarrow⌁ liked Bizz ( John )'s discussion How To Create Unlinked Pages In Groups Easily
yesterday
Suave liked Suave's profile
yesterday
Suave updated their profile photo
Thursday
Suave updated their profile
Thursday
Suave liked Suave's discussion I AM LOOKING FOR DEVELOPER ASSISTANCE WITH ADDING AUTOMATIC MUSIC TO MY HOME PAGE
Thursday
Suave is now a member of Ning Creators Social Network
Thursday
Chaz is now friends with Kathleen (SunKat) and Margarida Maria Madruga
Wednesday
Mark Thorpe posted a discussion
Hi there,Just setting up a network and wondering how I can get the links that new mmebers fill out…
Wednesday
Fernando Bisbal posted a discussion
There are people whose profile does not show the group block and we do not know which groups they…
Nov 7
Fernando Bisbal posted a discussion
There are people whose profile does not show the group block and we do not know which groups they…
Nov 7
Michael Rua Franco replied to Michael Rua Franco's discussion
Problems with Polyfill.io in my site
"Thank you so much for your reply Vlada "
Nov 6
Future Skills Academy updated their profile
Oct 1
More…

Meanwhile, you can check our social media channels