Apologies if this is more straightforward than the potential solutions that I've tried to uncover thus far. I've reached out to support, and they've recommended that I post here (thank you for reading!).
The end result we want to avoid is that the main navigation menu (top of the screen on all pages) is sized differently on the homepage versus all other pages. We want the menu to look consistent - and we wondered what the easiest solution might be?
You can update the font-size on one or the other. When you do, there are still differences in the paddings and margins of the two so they'll be spaced differently. For example, on the services page the following code is adding padding to the left:
ul li {
list-style: none;
padding-left: 2rem;
position: relative;
text-indent: -17px;
}
If I add that to the homepage template, it will apply it all list items on any template that uses your stylesheet so you may want to narrow it down to the header menu specifically. Like this, for example:
.global-header ul li {
list-style: none;
padding-left: 2rem;
position: relative;
text-indent: -17px;
}
The difference between the two is the widths for the "page-center" class:
custom/page/Vast_Theme/vast-style.css has a page-center of 1080px
Vast/Coded_Files/vast-style.css has a page-center of 1200px
You could update the page-center on one or both stylesheets to match or, if you just want to change the width of the headers, on the global-header, remove the "page-center" class and add in a new "header-center" that has the same width on both.
Let me know if you need any further clarification on that.
Thank you so much, Stephanie! Quick question – I tried to update the page-center to match on both (at 1200px), but it seems to still load the menu differently (notice the smaller text on the menu items on the Homepage versus the Services page). Did I miss something with making the two page-center update?
You can update the font-size on one or the other. When you do, there are still differences in the paddings and margins of the two so they'll be spaced differently. For example, on the services page the following code is adding padding to the left:
ul li {
list-style: none;
padding-left: 2rem;
position: relative;
text-indent: -17px;
}
If I add that to the homepage template, it will apply it all list items on any template that uses your stylesheet so you may want to narrow it down to the header menu specifically. Like this, for example:
.global-header ul li {
list-style: none;
padding-left: 2rem;
position: relative;
text-indent: -17px;
}