Skip to Content Skip to Menu

[#5117] Logo Position

9 years 3 months ago - 9 years 3 months ago #259354 by rmuscarello
[#5117] Logo Position was created by rmuscarello
I'm using coolness template j3x_template_coolness_3.0.0. When I use a image logo its not in front and it's not centered in the area in the upper left of the page. You can see it at ohconline.com/ .

I've tried editing template.css in the logo section but I'm not having any success. Can you help?

/* Logo formatting: */
#logo { float:left; width: 100px; background:url(../images/head_foot.png) no-repeat 0px -82px; }
#logo a {text-decoration:none; color:#636363;}
#logo h1 {margin:0px; padding:0px; font-family: Arial, Helvetica, sans-serif; font-size:32px; line-height:100%; font-weight:500; display:block; padding:10px 0 0 20px; }
#logo h1 STRONG { color: #636363; font-style: italic; font-weight: bold; }
#logo h1 a STRONG { color: #636363; }
#logo h1.logo { padding:0; margin:0; height:82px; }
#slogan h2 { margin:0px; padding:0px; height:49px; line-height:49px; color:#636363; text-align:center; font-style: italic; font-size:28px; font-weight:bold; padding-right: 20px; }
Last edit: 9 years 3 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 68613
  • Thanks: 9109
  • Karma: 1434
9 years 3 months ago #259407 by krileon
Replied by krileon on topic Logo Position
It's not supposed to be centered. The CSS is designed to left align it. I don't think you'll be able to easily center it without altering the floating and alignment behavior entirely.

However, the rounded corner styling shouldn't be on top of it. That looks like it's due to the wrong ID being on the logo image tag. Please try the below workaround.

IN: templates/coolness/index.php
ON: Line 158
FROM:
Code:
<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>
TO:
Code:
<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; ?>" /></a>

forge.joomlapolis.com/issues/5117


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.
The following user(s) said Thank You: rmuscarello

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

9 years 3 months ago #259464 by rmuscarello
Replied by rmuscarello on topic Logo Position
That fixed it. Thanks

I don't know how to show that this problem has been answered.

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

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn