Skip to Content Skip to Menu

[#5146] Replace header image in myCommunity template

  • ksaltman
  • ksaltman
  • OFFLINE
  • Posts: 108
  • Thanks: 11
  • Karma: 2
9 years 8 months ago - 9 years 8 months ago #259649 by ksaltman
Probably been asked a bazillion times but not able to search out the results.

Installed the myCommunity template and want to replace the upper left image with our logo. Used Photoshop to scale an image to 300x156 uploaded it using the media content manager and selected it as the logo in the template manager.

When it displays though its totally not to scale and completely cut off.

How do I change the logo in the left corner of the header in the myCommunity template?
Last edit: 9 years 8 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 8 months ago #259684 by krileon
Replied by krileon on topic Replace header image in myCommunity template
Edit the My Community template within Extensions > Template Manager then under the Advanced tab set "Text/Image Logo" to "Image" next specify the URL to your image within "Image File Location". The image should then be added as a background image using CSS and its width set to the same width as "Left Sidecolumn Width (px)". Aside from that I can't help any further without a link to the issue so I can take a look at the CSS to see if there's a possible conflict or bug.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • ksaltman
  • ksaltman
  • OFFLINE
  • Posts: 108
  • Thanks: 11
  • Karma: 2
9 years 8 months ago #259720 by ksaltman
Replied by ksaltman on topic Replace header image in myCommunity template
The URL of the site is www.redwoodrvowners-dev.com . You can see the image in the top left is not scaling properly. I did as you suggested in the template manager.

TIA

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 8 months ago #259753 by krileon
Replied by krileon on topic Replace header image in myCommunity template
Ok, I see the issue. Make the below change and it should display fine.

IN: templates/mycommunity/index.php
ON: Line 140
FROM:
Code:
#logo { background: url(/"<?php echo $imagePath; ?>") no-repeat 5px 5px; width: <?php echo $leftcol_width; ?>px; }
TO:
Code:
#logo { background: url(/"<?php echo $imagePath; ?>") no-repeat; background-size: <?php echo $leftcol_width; ?>px auto; width: <?php echo $leftcol_width; ?>px; }

forge.joomlapolis.com/issues/5146


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • ksaltman
  • ksaltman
  • OFFLINE
  • Posts: 108
  • Thanks: 11
  • Karma: 2
9 years 8 months ago #259766 by ksaltman
Replied by ksaltman on topic Replace header image in myCommunity template
Yup that worked.

Thanks

Please Log in or Create an account to join the conversation.

  • ksaltman
  • ksaltman
  • OFFLINE
  • Posts: 108
  • Thanks: 11
  • Karma: 2
9 years 8 months ago #259868 by ksaltman
Replied by ksaltman on topic Replace header image in myCommunity template
Ok never mind, now after making the change i see the logo on the "home" page but if I click "sign up" no joy.

What gives?

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum