Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "DesignNow" Joomla template

Topic-icon Resizing logo variable makes template weird

More
6 years 3 months ago #3455 by michaelstrac
Hello

I have a question.

I have been trying to resize the logo on this template for a while now, and have yet to be successful. I changed the variable in layout.css from:

.logo {
height:115px;
width:270px;
float:left;
}

to:


.logo {
height:79px;
width:500px;
float:left;
}

That made the template go out of alignment and look really weird. I have uploaded an attachment to show what happened.

I would like some help in making this look alright again.

Thank you
Attachments:

Please Log in to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #3459 by milos
Please edit file /templates/hot_designnow/index.php and change width and height of the logo images there as well. This is around line 226 and looks like
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo.png" width="249" height="34" alt="Hot Design Now" /></a>

Also, change value 290 to 520 (in your case) in line
$searchWidth = $templateWidth - 290;
Last Edit: 6 years 3 months ago by milos.
The following user(s) said Thank You: michaelstrac

Please Log in to join the conversation.

More
6 years 3 months ago #3462 by michaelstrac
Thank you for your quick response.

One question:

Where is that last line located?

Thanks

Please Log in to join the conversation.

More
6 years 3 months ago #3463 by milos
In file /templates/hot_designnow/index.php, around line 80.

Please Log in to join the conversation.

More
6 years 3 months ago #3464 by michaelstrac
Ok found it.

Its almost perfect now though.

Take a look at the image i have attached, and tell me what i need to do to fix that.

Some details.

The logo is 300 x 47
I changed it accordingly in index.php and layout.css as per your instructions.

Even so, it goes slightly out of alignment.

Would like to know what to do.

Thank you for all your help so far.
Attachments:

Please Log in to join the conversation.

More
6 years 3 months ago #3467 by milos
Increase the value in line "$searchWidth = $templateWidth - 290;"

Try to "fine-tune" it.

Please Log in to join the conversation.

Time to create page: 0.125 seconds

Links, Partners and Social Media