Hello my website is https://www.energi-positif.net
I am using a simple menu just from text and i put it all inside one layout grid in a master page. But the result is bad. My simple text menu only good on one page (index page). If i clicked other menu, the font became smaller. If i clicked other menu again, the menu will be aligned left. Clicked other menu again several text still on the center, the others aligned left and right.
This is my file:
https://drive.google.com/file/d/176ufp5 ... drive_link
Please help me to fix this. I need to fix my website as soon as possible. Thank you so much
Using simple text menu inside layout grid via master page and problem occur
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
-
-
- Posts: 49
- Joined: Wed Jan 06, 2021 11:14 am
- Contact:
Re: Using simple text menu inside layout grid via master page and problem occur
It looks to me that you need to set the text alignment of your text boxes to center. Some are set to center and others are set to left.
Re: Using simple text menu inside layout grid via master page and problem occur
The text items that make up your menu on the master page must have unique IDs. The current IDs are "Text1", "Text2", etc. Those IDs will probably be duplicated on the pages using the MasterPage, which will cause problems.
Billing clients for your freelance work? Try Minute-2-Minute, the project management, timing, and billing system. Perfect for web developers who charge by the hour. FREE 45-day trial.
-
-
- Posts: 49
- Joined: Wed Jan 06, 2021 11:14 am
- Contact:
Re: Using simple text menu inside layout grid via master page and problem occur
I guess I already done that in the master page. Where did you find the errors?
-
-
- Posts: 49
- Joined: Wed Jan 06, 2021 11:14 am
- Contact:
Re: Using simple text menu inside layout grid via master page and problem occur
So i just need to change the IDs?
Re: Using simple text menu inside layout grid via master page and problem occur
goFrank makes a good point. All objects on the master page should have unique ID's different from what's on other pages. If you have a Text1 on the masterpage and a Text1 on the Index page, then there will be a conflict.
Or, you can give them a completely unique name. Up to you. If you change the name, make it descriptive. For example, the grid you are using to hold the menu text objects you may want to give it an ID of "mainmenu". This helps make sense of the object in the object manager instead of LayoutGrid1
Yes. I typically will just add a 'M' to the front of the ID to indicate Masterpage. Ex: MText1, MText2So i just need to change the IDs?
Or, you can give them a completely unique name. Up to you. If you change the name, make it descriptive. For example, the grid you are using to hold the menu text objects you may want to give it an ID of "mainmenu". This helps make sense of the object in the object manager instead of LayoutGrid1
-
-
- Posts: 49
- Joined: Wed Jan 06, 2021 11:14 am
- Contact:
Re: Using simple text menu inside layout grid via master page and problem occur
Yes goFrank is right. As I checked several pages, I found duplicate Text1 - Text9 which automatically generated when I made the text menu on the master pagecrispy68 wrote: ↑Fri Nov 10, 2023 5:47 pm goFrank makes a good point. All objects on the master page should have unique ID's different from what's on other pages. If you have a Text1 on the masterpage and a Text1 on the Index page, then there will be a conflict.
Yes. I typically will just add a 'M' to the front of the ID to indicate Masterpage. Ex: MText1, MText2So i just need to change the IDs?
And also it is a good idea from you crispy68. Definitely i will be using the code "M"
-
-
- Posts: 49
- Joined: Wed Jan 06, 2021 11:14 am
- Contact:
Re: Using simple text menu inside layout grid via master page and problem occur
Thank you so much goFrank and crispy68 the problem is 90% fixed. I already changed all of the IDs on the master page (text and layout grid). All pages got the same menu except index.htm. It seems like the menu line space of the index.htm is slightly bigger. If i clicked the other page from the menu it became smaller line space. But after that if I clicked the other page again it was the same as the second and the fourth and so on and so on. So the only different result was the index.htm. How to fix this?
Re: Using simple text menu inside layout grid via master page and problem occur
The line height for the text objects on the index page is set to 1.5 whereas the other pages are set to 1.1875. This is why you are seeing the difference.
There are 2 places to look:
1. open the text object properties and see what you have set for the line-height.
2. open the page properties -> Style tab and check to see what the line-height is set there for the page.
There are 2 places to look:
1. open the text object properties and see what you have set for the line-height.
2. open the page properties -> Style tab and check to see what the line-height is set there for the page.
-
-
- Posts: 49
- Joined: Wed Jan 06, 2021 11:14 am
- Contact:
Re: Using simple text menu inside layout grid via master page and problem occur
Thank you so much crispy68 you are my herocrispy68 wrote: ↑Fri Nov 10, 2023 6:58 pm The line height for the text objects on the index page is set to 1.5 whereas the other pages are set to 1.1875. This is why you are seeing the difference.
There are 2 places to look:
1. open the text object properties and see what you have set for the line-height.
2. open the page properties -> Style tab and check to see what the line-height is set there for the page.