1. jpmoore
  2. Commercial Templates
  3. Tuesday, 06 December 2022
  4.  Subscribe via email
Hello

I have recently upgraded a site from J3 to the latest version of J4.

I have tried layla, sophia and natalie templates, but with all I encounter an issue where white space is showing to the right hand side of the screen. It doesnt appear when scrolled down (and sticky menu is at top), but only when scrolled right to the top.

Is there a solution for it?

Many thanks

Jonathan
Attachments (1)
Accepted Answer Pending Moderation
0
Votes
Undo
A link to the page will be necessary here...

(Any other explanations about the structure of the site)
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Unfortunately, the site is currently offline, as I want it to look perfect (im making other changes) before making it live again.

I will forward my message - along with access information - in a support message to Ciaran.

Thanks

Jonathan
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Jonathan

May I suggest sending the URL to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Jonathan

The reason for the whitespace is due to some of your menu dropdowns are breaking out beyond your viewport In particular the dropdown to your History & Records dropdown. To reduce the width of this dropdown, could you try replacing the columns-4 class with columns-3.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran

Thanks for this - which partially fixes the issue. One menu is four columns wide, but as its torwards the right hand side of the main menu, it still goes off to the right (left from the menu option).

This i because the dropdown menu is right-aligned under the menu. Can it be left-aligned so that it doesn't go off page ?

Thanks

Jonathan
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi

I am looking for this approach (left-alignment) on sophia, natalie and layla. Is it possible?

nina.png
Attachments (1)
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

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

Replace 777 with the parent menu item ID of your choice (right column in menu manager)

.hornav .item-777 > ul {
left: auto !important;
right: 0;
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran

Thank you so much for this code. It has made such a difference.

To make the site perfect, I am looking to set the width of the sub-menus. Each sub-menu is either 2 or 3 columns wide. I saw code such as the code below, but this hasn't had the desired impact

.hornav .item-511 ul {
min-width: 270px;
}

A screenshot of the issue is attached:
Screenshot at 2023-01-06 14-01-35.png


Kind Regards

Jonathan
Attachments (1)
  1. more than a month ago
  2. Commercial Templates
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Jonathan

Your CSS will only apply to a dropdown whose parent menu item ID is 511. Is this correct and intended? Is the CSS getting applied but not the desired result or simply not getting applied at all?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran

Yes, the above was applied, but didn't work.

Since then, i've implemented the following CSS:

.hornav .columns-2 + ul {
width: 600px;
}

.hornav .columns-3 + ul {
width: 800px;
}

.hornav .columns-4 + ul {
width: 900px;
}

.hornav .item-511 > ul {
left: auto !important;
right: 0;
}

.hornav .item-568 > ul {
left: auto !important;
right: 0;
}

.hornav .item-2866 > ul {
left: auto !important;
right: 0;
}

.hornav .item-3361 > ul {
left: auto !important;
right: 0;
}

However:

1) is it possible to set a minimum sub-menu width at parent item level?
2) is it possible to (as per image showing Election Results sub-menu) to have its sub-menu on the left?
3) the 'heritage' menu, despite being set-up as columns-2 or columns-3 is not displaying correctly. Can you look into it?

Jonathan
Screenshot at 2023-01-08 18-03-28.png
Screenshot at 2023-01-08 18-03-54.png
Attachments (2)
  1. more than a month ago
  2. Commercial Templates
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Jonathan

Thank you for the update.

1. To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

Replace 777 with your parent item ID.

.hornav .item-777 > ul {
min-width: 400px;
}


2. / 3. On these items, get back to us once your site is available online and we will look into a possible solution.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 11
Accepted Answer Pending Moderation
0
Votes
Undo
I notice requested details have already been sent. :)

1. To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

.hornav .item-590:hover ul, .hornav .item-590 ul {
left: -230px !important;
width: 230px;
}


2. To amend try also adding the following (edit to taste)...

.hornav .columns-3 + ul {
max-height: 440px;
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 12
  • 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