1. Tralala
  2. Sherlock Holmes
  3. Commercial Templates
  4. Friday, 12 February 2016
  5.  Subscribe via email
How can I gave the position ‘logo’ or ‘logo_container’ a certain witth?
In almost all your templates the with of that space is not maximized and is 100% of the browser-window.
I’d like to maximize the width to the width of the template. And of course it should be in line with the template, not floated left.

As it is in template Ashley (but unfortunately that design doesn’t meet my needs).
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Presuming I understand you correctly, try adding the following to the Custom CSS field of your templates parameters (edit to taste)...


#logo {
max-width: 1080px;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks Ciaran, but this doesn't work. The logo is pulled left in the browser-window, left from the leftside of the site-body.
In my local installation I did this:
- in index.php I added, just within #header, a div with class wrapper960
- than styled that new div, with text-align=left
And ready!
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
My apologies. I miss understood your query. Does the following resolve the issue for you (Custom CSS)...


#logo {
margin: 0 auto;
max-width: 1080px;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks a lot!
I am deeply ashamed - I should have known this...

This is a much more elegant solution than modifiing index.php.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!