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

     

  • 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

Lea Bouillet updated their profile
yesterday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"Bizz 
these are the points impossible to reach without these codes"
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
""
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"Bizz 
tell me without codes how you can get here my bro"
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
""
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"my aim is to get perfect CSS without touching the study design"
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"does not play the usual game does not change color to the touch and does not go where a creator…"
Saturday
Bizz replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"You don't need to add any css as this can be done in your design studio"
Saturday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"these buttons will go all over your site"
Saturday
Rosas † Negras posted a discussion
 Design StudioGlobal Css/*Buttons*/a.button, button, input.button {color:#fff!important;background:…
Saturday
Rosas † Negras replied to Bizz's discussion
NING ISSUE WITH SIGN UP FORM
"Max Ning Support hi dear friend ... I need to ask something ... I am writing to you in private"
Friday
Kinga Incze replied to Kinga Incze's discussion
Monetization - fee questions
"That's clear, thanks, one last question on fees: so if a subscriber pays 100 dollars, first Stripes…"
Friday
More…

Meanwhile, you can check our social media channels