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

Annabel Gregory replied to Annabel Gregory's discussion
Reset Password fails
"Yes, our problem continues, similarly! Lack of email notification when somebody posts something or…"
1 hour ago
Marly replied to Annabel Gregory's discussion
Reset Password fails
"Just nercoing this because I've had this issue since July. My members don't receive any emails or…"
10 hours ago
Aurora and Alex - Rosas † Negras are now friends
NC for Hire
Nov 29
⚡JFarrow⌁ shared their discussion on Facebook
Nov 29
Steve C replied to Bizz's discussion
Seeing as we have Albums for photos might as well change the look a bit
" That is CLEAN! Great job."
Nov 28
Alex - Rosas † Negras replied to Renato Gelforte's discussion
Date of articles
"The ning Team can't do your job, it's up to you to add the categories and enable the view counter…"
Nov 26
Renato Gelforte replied to Renato Gelforte's discussion
Date of articles
"Thanks a Lot Alex, but I repeat: the Ning support has already answer:The date of the articles is…"
Nov 23
Alex - Rosas † Negras replied to Bizz's discussion
Seeing as we have Albums for photos might as well change the look a bit
"it's strange in mine I don't see differences and they are centered, looking at your member on the…"
Nov 17
⚡JFarrow⌁ replied to Bizz's discussion
Seeing as we have Albums for photos might as well change the look a bit
"Something else seems to be changing as well...  today my member blocks all look like this..."
Nov 16
Bizz replied to Renato Gelforte's discussion
Date of articles
"The show Author tick box has nothing to do with showing the dates, that just puts a little…"
Nov 15
Alex - Rosas † Negras replied to Renato Gelforte's discussion
Date of articles
"if I'm not mistaken there is an article byBizz 
which may be for you to fix the situation"
Nov 15
Renato Gelforte and Alex - Rosas † Negras are now friends
NC for Hire
Nov 14
More…

Meanwhile, you can check our social media channels