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

Rosas † Negras liked Bizz's discussion How I added Different Profile Theme Choices, Profile Page Size and Profile Cover Image Size Options For Members To Choose From
4 hours ago
Rosas † Negras replied to Bizz's discussion
How I added Different Profile Theme Choices, Profile Page Size and Profile Cover Image Size Options For Members To Choose From
"This is Ning story! in about 15 years never seen an artist like you! thanks as you know I was…"
6 hours ago
Bizz posted a discussion
THE CODE ETC BELOW CAN BE FOUND ALSO ON MY SITE IN A BLOG PAGE AND ALSO SOME IMAGES OF THE THEME…
12 hours ago
Bizz replied to JAIME DIAZ SALAZAR's discussion
Chat Page CSS
"The chat columns can be adjusted by dragging them up or down
With regards to the icons adjusting…"
13 hours ago
JAIME DIAZ SALAZAR posted a discussion
Good day to Everyone,I would like to know if somebody can help me out with my site's chat page…
yesterday
Rosas † Negras replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Don impara a lavorare sui codici invece di lamentarti 3.0 È  superiore di gran lunga....prima di…"
Thursday
Tony19 replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Hello Ana,I had a look at the platform you’re talking about and you’re right, it’s awesome.
It…"
Thursday
Tony19 liked Ana Massien's discussion Possibly Ning 2 or Ning 1.5
Thursday
⚡JFarrow⌁ replied to Ana Massien's discussion
Emoji work in module headers and newsfeed
"anywhere except for inside the HTML itself."
Wednesday
⚡JFarrow⌁ replied to Ana Massien's discussion
Front end edits
"Most likely not"
Wednesday
⚡JFarrow⌁ updated their profile photo
Wednesday
Ana Massien replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Dood we have not even spoke in this thread since June 2020. I don't see why you came to bump it…"
Wednesday
More…

Meanwhile, you can check our social media channels