1. mattia.cappellari@fomet.it
  2. Commercial Templates
  3. Tuesday, 22 May 2018
  4.  Subscribe via email
Good evening.
I bought your Harmony template for my site http://www.fomet.it.
My problem is in the header: if I reduce the width of the browser, so to simulate a mobile device, I see there is a lot of blank space just below the header, as you can see in the image attached.
How can I remove all that blank space?
Thank you.
Mattia
Attachments (1)
References
  1. http://www.fomet.it
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Mattia

To amend you can add the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

@media only screen and (max-width: 1024px) {
#container_header {
height: auto !important;
min-height: auto !important;
padding-top: 35%;
}}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
your solution is very good, thank you!
The problem now is it works only for width under 1024px, I think.
Is it possibile to make it work for every width? I tried to remove the line "@media...", but doing so the menu bar goes below the header and I don't want this behavior.
Thank you very much
Mattia
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
So you tried the following?...

#container_header {
height: auto !important;
min-height: auto !important;
padding-top: 35%;
}


Would you have a screenshot of the issue it creates?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Good morning Ciarán.
In the attached screenshots you can see the position of the menu: "Before.png" shows the desired position (it is the current position), "After.png" shows the position after removing the line from css.
Massimo
Attachments (2)
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Does changing the suggested custom CSS to the following resolve the issue?...

#container_header {
height: auto !important;
min-height: auto !important;
padding-bottom: 35%;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
This works very well!
Thank you
Massimo
  1. more than a month ago
  2. Commercial Templates
  3. # 6
  • Page :
  • 1


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

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok