Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

frontpage-image-default container Resize - Image Keeps Resizing

8 years 1 month ago
Licenses:
JomSocial Expired

ISSUE SUMMARY: A few months back I updated the frontpage-image-default.jpg. I got it as close to the original as I could (798px × 469px). And it seemed to work fine. But for some reason it keeps re-cropping the image. Is there a way to resize the container to fit the image and how would I do this? Thanks

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

8 years 1 month ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Because your site layout for hero banner is 912px x 342px, so you need to change your frontpage-image-default.jpg to 912px x 342px and not 798px × 469px :)

thank you!

8 years 1 month ago
Licenses:

Hi,

for prevent cropping, you need to make container high equal with image portion.
please edit this file /templates/protostar/css/template.css and put the following CSS code

.joms-landing__cover::before {
  padding-top: 58%;
}

Regards

8 years 1 month ago
Licenses:
JomSocial Expired

Thanks Albertus. That seemed to have worked.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW