I am using the Nina template.
I repositioned the main menu to the left so it is immediately to the right of the logo by adding “.logo { flex: 0 0 auto; }” to the custom CSS box. I would now like move the items I currently have in the header-2 position down to where the hornav module originally was (ie, justified with the right margin, but now aligned vertically with the logo and the menu).
Is it possible for me to now move the header-2 module down to be aligned with the logo and the menu? Alternatively, can I move these items from the header-2 position to the hornav position and somehow justify them with a suffix or otherwise to the right margin? Perhaps there is a way to add a new module position into the right-justified position the hornav module originally was in?
Thank you!
- sjudelson
- Commercial Templates
- Tuesday, 04 January 2022
- Subscribe via email
Hello
One option would be to add the following to the Custom CSS field of your template settings which will essentially move the position down 110px.
If this solution is not suitable, come back to me and I will find an alternative.
Ciaran
One option would be to add the following to the Custom CSS field of your template settings which will essentially move the position down 110px.
.header-2 {
position: relative;
top: 110px;
z-index: 100;
}
If this solution is not suitable, come back to me and I will find an alternative.
Ciaran
- more than a month ago
- Commercial Templates
- # 1
Ciaran,
Thank you for the suggestion! The code successfully moved the header-2 contents down the page and, after adjusting the top value from 110px to 60px, I was able to align it with the logo and menu. However, when viewed in portrait mode on a mobile device, the contents of the header-2 module now unacceptably overlap the logo and menu. In addition, an empty area now exists above the logo and menu (where the header-2 contents originally were). The header-1 position is currently empty. I could increase the header-2 top value to move the contents further down so it no longer overlaps, but it would not be exactly where I wanted it (and would still leave the empty space issue). Is there an alternative that would better address these issues or solve the new ones?
The pages are still under development. I will email you the URL of a hidden page where you can better view this issue. Thanks!
Steven
Thank you for the suggestion! The code successfully moved the header-2 contents down the page and, after adjusting the top value from 110px to 60px, I was able to align it with the logo and menu. However, when viewed in portrait mode on a mobile device, the contents of the header-2 module now unacceptably overlap the logo and menu. In addition, an empty area now exists above the logo and menu (where the header-2 contents originally were). The header-1 position is currently empty. I could increase the header-2 top value to move the contents further down so it no longer overlaps, but it would not be exactly where I wanted it (and would still leave the empty space issue). Is there an alternative that would better address these issues or solve the new ones?
The pages are still under development. I will email you the URL of a hidden page where you can better view this issue. Thanks!
Steven
- more than a month ago
- Commercial Templates
- # 2
Since my prior response, I repositioned header-1 to the right margin (.header-1 { position: absolute; right: 0;} ) and placed some of the content from header-2 into header-1. This solved my desire to eliminate the empty space above the logo and menu. I still have the problem that header-2 is displayed in front of the logo and menu on mobile devices.
Steven
Steven
- more than a month ago
- Commercial Templates
- # 3
Hi Steven
We do not appear to have received your email. Could I ask you to resend to info@joomla51.com. Please include a URL to this post for our reference.
Ciaran
We do not appear to have received your email. Could I ask you to resend to info@joomla51.com. Please include a URL to this post for our reference.
Ciaran
- more than a month ago
- Commercial Templates
- # 6
Thank you
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
Ciaran
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
@media only screen and (max-width: 440px) {
.header-2 {
margin-left: auto;
font-size: 8px;
}
}
Ciaran
- more than a month ago
- Commercial Templates
- # 7
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »