Question:
Because my other pages’ header is not same as home pages’, I want to copy my home page’s header style to other pages. Is there any simple way like copy and paste to do this?
Product:
Wix Studio
What are you trying to achieve:
[Explain the details of what you are trying to achieve. The more details you provide, the easier it is to understand what you need.]
What have you already tried:
I already tried to use copy elements design from this breakpoint, when I go to anther page, there is a brush cursor appeared, but I do not know how to use it. And I am not sure use this approach can achieve what I want.
Doing it this way is a bad idea and a bad solution.
You must understand, that HEADER is a SECTION which is available on all of your pages, as long as you do not deactivate it either inside of your pages options or by code.
So, what could be a better way to solve your issue?
Let’s say you want to have on 3 different pages —> 3x different headers.
In fact the header will be always the same, but what has to be shown inside your header can be regulated by code.
You can change your HEADER based on the URL or the PATH of your currently selected page.
- if → Homepage → Showing elements 1+2
- if → page-1 → Showing elements 2+5
- if → page-2 → Showing elements 1+4
- You could even hide whole HEADER on specific pages by code this way.
…and so on. …
https://www.wix.com/velo/reference/wix-location-frontend/prefix
2 Likes