[SOLVED] Issues with Image/Logo..

13 years 4 months ago #148967 by WorldSpace
Replied by WorldSpace on topic Re:Issues with Image/Logo..
I will wait tills it is found stable and released as i just found the issue in the index.php file, take a look below the h1 class is not closed, a / is forgotten

<h1 class="logo"><a href="<?php echo $this->baseurl; ?>"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/images/blank.gif" style="border:0;" alt="<?php echo $imageALT; ?>" id="logo" /></a><h1>

So i closed it and changed the code to include imagepath as below, now you can enable/disable image/logo and everything works perfect..


<h1 class="logo"><a href="<?php echo $this->baseurl; ?>"><img src="<?php echo $this->baseurl ?><?php echo $imagePath; ?>" style="border:0;" alt="<?php echo $imageALT; ?>" id="logo" /></a></h1>

Please Log in to join the conversation.

13 years 4 months ago #148970 by krileon
Replied by krileon on topic Re:Issues with Image/Logo..
The unclosed tag should be fixed with current 1.3 release. Please see my previous post for direct link to Coolness 1.3.

The logo is not applied directly to the SRC it is applied to the containing element as a background image.

Post edited by: krileon, at: 2010/12/17 21:13


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 to join the conversation.

13 years 4 months ago #148972 by WorldSpace
Replied by WorldSpace on topic Re:Issues with Image/Logo..
Ok, i just installed your latest version but slash was still missing, i added the slash and changed the following to fit my 284px logo:

Replaced <?php echo $leftcol_width; ?> with 350 in index.php file.

h1.logo { background:url("<?php echo $this->baseurl; ?>/<?php echo $imagePath; ?>") no-repeat 5px 5px; width: 350px; }

And changed this from 200 to 350 in .css file:

#logo { float:left; width: 350px; background:url(../images/head_foot.png) no-repeat 0px -82px; }

Now everything seems to work ok..

Thanks... :)

Please Log in to join the conversation.

13 years 2 months ago #152940 by richardchipps
Replied by richardchipps on topic Re:Issues with Image/Logo..
I had exactly the same problem and the /h1 sorted the main problem. Still trying to work out how to increase the image height from 82px to 105px without destroying the the top menu.

Please Log in to join the conversation.

13 years 2 months ago #154217 by krileon
Replied by krileon on topic Re:Issues with Image/Logo..
Would need a directly URL to your site in order to suggest the best CSS adjustment. Please provide a URL and exactly what you're wanting adjusted. You may PM the URL if you do not want it publicly displayed. Please ensure your site already has Coolness setup.


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 to join the conversation.

13 years 1 month ago #155138 by stepson
Replied by stepson on topic Re:Issues with Image/Logo..
hello !
it would be fine to have an official documentation on how work the different variations of settings allowed when we use text or image logo for the header.
it is not really clear.

when should we use text or image as we see in the source code (index.php) that a mix is possible (text and image).

I have difficulties to understand wich setting I need to have an image as a background in the header with the menu displayed on top of my image (or below it)

pro.square6.fr

I have image selected and image path to my image (and index.php modified according to the suggestion above in order to use the image rather than blank.gif)

what should we get if we have text/image set to text or image and image path empty or not ?
there are 3 options that seems to be handled in the template. what should be the result ?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.293 seconds

Facebook Twitter LinkedIn