fbpx

Missed the Birthday Party? Still You Can Enjoy the PartyView Deal

Welcome, Guest
Username: Password: Remember me

TOPIC: fixheader and main menu after template upgrade

fixheader and main menu after template upgrade 4 months 2 weeks ago #20756

  • Weblox
  • Weblox's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
Hi @ Joomdev

after your advice from my last forum post #20651 I have upgraded the JD Boston Template to the astroid framework. The upgrade process was fluent and things are working great. I have started to read documentation and watch the great YouTube Tutorials, but right now I have some trouble again to get my Site Header in the desired position. (Please see screenshots).

Screenshot_1: JD Boston T3-Framework with header (smart slider) correctly positioned (behind logo and menu) with "fixheader".
Screenshot_2: JD Boston astroid-Framework with header (smart slider) in wrong position. Please how to fix header in astroid ?

Also I have some Issues with the main menu in astroid. Please see in Screenshot 2:

- Menu Dropout is not wide enough and Menu Items get cut off.
- Please Note: in the screenshot_2 the User is NOT logged in and the Dropout User Menu should ONLY show the "LOGIN" option. The 2nd and 3rd dropout should ONLY be available after the User has Logged in.

How can I fix both Issues, please ?

Thanks in advance and keep up the good work... :woohoo:
Attachments:
Last Edit: 4 months 2 weeks ago by Weblox.
The administrator has disabled public write access.

fixheader and main menu after template upgrade 4 months 2 weeks ago #20794

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3940
  • Thank you received: 582
  • Karma: 102
Hi,

You have to define the dropdown width and it will be fine.
#6 in this screenshot: docs.joomdev.com/wp-content/uploads/2019...into-Mega-Menu-9.png
full documentation here: docs.joomdev.com/article/mega-menu/

Try adding the class fixed-top to your header in the layout manager. Note that it will hide the top bar and you may add the class to that section as well if you want to keep it.
Please see bootstrap's documentation for more: getbootstrap.com/docs/4.0/components/navbar/

Thank you,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: Weblox

fixheader and main menu after template upgrade 4 months 2 weeks ago #20797

  • Weblox
  • Weblox's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
Hi @admin

thanks a lot for your help and support, but trying out your advice this time gives a new problem.

I tried adding the class fixed-top to my header in the layout manager, but this seems to break the template, as now Joomla only displays a blank page (please see Screenshot). I tried to remove the fixed-top Tag in the header again , but that did not fix the new problem. I also tried to reimport the jd_boston_astroid_settings, but still Joomla is displaying the blank page. Please help!

Please note that Joomla is still working fine when switching to the T3-Version of the JD Boston Template.

Again thanks for all your support and keep up the good work...
Attachments:
Last Edit: 4 months 2 weeks ago by Weblox.
The administrator has disabled public write access.

fixheader and main menu after template upgrade 4 months 2 weeks ago #20798

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3940
  • Thank you received: 582
  • Karma: 102
It looks like the template is not loading at all. Might be a PHP error. please enable error reporting and you might see a few errors.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: Weblox

fixheader and main menu after template upgrade 4 months 2 weeks ago #20799

  • Weblox
  • Weblox's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
Hi again @ Chetan,

Thanks for the hint. Now I set Joomla / Global Configuration/ Server/ Error Reporting to "Development" and on the blank Page I have this Error Message:

Recoverable fatal error: Object of class stdClass could not be converted to string in /home/www/main/templates/jd_boston_astroid/frontend/typography.php on line 59

Edit: This is Line 59 in Typography.php

$style .= 'font-size: ' . $typoParams->font_size . $font_size_unit . ';';

Would a simple Reinstall of the Template and/or the framework fix the problem?
Last Edit: 4 months 2 weeks ago by Weblox.
The administrator has disabled public write access.

fixheader and main menu after template upgrade 4 months 2 weeks ago #20800

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3940
  • Thank you received: 582
  • Karma: 102
Please search the forum for common errors.

www.joomdev.com/forum/jd-boston/4201-sol...hp-recoverable-fatal
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: Weblox

fixheader and main menu after template upgrade 4 months 2 weeks ago #20822

  • Weblox
  • Weblox's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Karma: 0
Hi @Chetan

Thanks for all your help.
Updating the Typography.php brought my Joomla back online. You rock!

Now I have two Issues left:

- Template not loading [FIXED!]

- Menu Dropdown Width [FIXED!]

- Header Positioning: I have tried adding the class fixed-top to my header in the layout manager, but still it's not giving the desired output. (see screenshots)

- Menu: Some Menu Items can be accessed when User is NOT logged in. They only should be accessible after the User has logged in and also is the admin of the site. (see screenshots)

Screenshots:

S0 - T3 Template with header in correct position (this is how I want the header and menu in astroid)
S1 - astroid default - Note: User is NOT logged in and Login Item should NOT have any Dropout links
S2 - astroid with fixed-top applied to header position, but still not what I need.

Again, thanks for all your great support, hopefully we can get this fixed!
Attachments:
Last Edit: 4 months 2 weeks ago by Weblox.
The administrator has disabled public write access.

fixheader and main menu after template upgrade 4 months 2 weeks ago #20919

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3940
  • Thank you received: 582
  • Karma: 102
Hi,

The support we are offering at this point is beyond our support scope. We can assist with any broken functionality within our products but customization according to your needs isn't really possible.

fixed-top will work, some more documentation here:
getbootstrap.com/docs/4.0/examples/navbar-top-fixed/
getbootstrap.com/docs/4.4/utilities/position/
www.w3schools.com/bootstrap4/bootstrap_navbar.asp
stackoverflow.com/questions/37946942/abo...navbar-top-placement

Thank you,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.842 seconds