Jump to content

landing page with two sub-sections

Recommended Posts

Site URL: https://www.willdurocher.com

hi, I have used CSS coding to hide menus on my header on certain pages, which has worked perfectly. I have a issue with i created a folder with sub menus in it and on the  mobile device the coding hides some of the sub menus in the folder also. Is there a way to get around this?

Creedon kindly suggested there is a better way using multi language code.

much appreciate any help thank you

 

https://www.willdurocher.com

password: Password2021

 

the issue is, when you go to the site, click on photography, then it will take you to the photography side of the site, when you click on series (on a web browser) it will show a drop down menu of 6 pages, but when you view it on a mobile device it will only show 2.

 

thanks again

Link to comment
  • Replies 6
  • Views 564
  • Created
  • Last Reply

You mentioned in the other thread an issue with not being able to view a link to a post I mentioned there? If that is the case, here is the URL.

https://forum.squarespace.com/topic/201716-two-websites-within-one-subscription/?tab=comments#comment-486526

Here is a link to  Brad Good's multi-language site code as well.

The main take away is that although we could do what you want hiding menus/menu items with CSS it could be a bit of a pain to maintain. Every time you changed the menus you'd have to update the CSS. With Brad's code and minor modifications to it, the menu swapping can be handled based on the location of the site the user is in.

The original intent of the code is for multi-language sites in the form of :

/en/home
/en/contact
etc...

/fr/home
/fr/contact
etc...

Brad's code then handles hiding/showing based on the two letter language code.

So in your case you could set up your site something like the following:

/ (the landing page with your two buttons)

/artist/home
/artist/store
etc...

/photography/home
/photography/series
etc...

Then we can supply code to modify Brad's code to handle more than two letter language codes.

You could experiment without a large investment to see if this is a direction you want to pursue. Set up a couple of pages for each part of your site. That's as easy as going into the page settings and changing the URL Slug. Then install the code (with a minor mod to deal with more than two letters) and play to see if it works for your needs.

I gather that this site is new. Is that the case?

Look over Brad's article. Is installing code something you feel comfortable with?

Let us know what you think.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
11 hours ago, creedon said:

You mentioned in the other thread an issue with not being able to view a link to a post I mentioned there? If that is the case, here is the URL.

https://forum.squarespace.com/topic/201716-two-websites-within-one-subscription/?tab=comments#comment-486526

Here is a link to  Brad Good's multi-language site code as well.

The main take away is that although we could do what you want hiding menus/menu items with CSS it could be a bit of a pain to maintain. Every time you changed the menus you'd have to update the CSS. With Brad's code and minor modifications to it, the menu swapping can be handled based on the location of the site the user is in.

The original intent of the code is for multi-language sites in the form of :

/en/home
/en/contact
etc...

/fr/home
/fr/contact
etc...

Brad's code then handles hiding/showing based on the two letter language code.

So in your case you could set up your site something like the following:

/ (the landing page with your two buttons)

/artist/home
/artist/store
etc...

/photography/home
/photography/series
etc...

Then we can supply code to modify Brad's code to handle more than two letter language codes.

You could experiment without a large investment to see if this is a direction you want to pursue. Set up a couple of pages for each part of your site. That's as easy as going into the page settings and changing the URL Slug. Then install the code (with a minor mod to deal with more than two letters) and play to see if it works for your needs.

I gather that this site is new. Is that the case?

Look over Brad's article. Is installing code something you feel comfortable with?

Let us know what you think.

Thanks Creedon, ive changed the URL-slugs to the correct "artist/" and "photography/" .... I went through Brad Goods site link and can't quite get my head around the coding. Ill be honest I'm not totally familia with coding. I inserted the coding and tried changing the "en" to artist.....but nothing seem to change.

And yes this site is new, in the making at the moment. But ill give it a go to installing coding to hopefully get it to work. I have made a duplicate of the site so I can test codings on that first.

thank you

Link to comment
10 hours ago, WillDuro said:

I have made a duplicate of the site so I can test codings on that first.

Excellent! I suggest inviting me as a contributor with administrator privileges to your duplicate site. After you get the code installed I can double check that it is installed correctly and make the minor adjustment to the code needed for it to work with more than two letter sub-section codes.

If that sounds good to you I can DM my invite info.

Once you're happy that things are going well on the duplicate site, it should be pretty easy to manually replicate the changes back to your original site.

One last try on that thread. I was trying to point to a message within the thread. Here is the thread start. Does this work for you?

 

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
40 minutes ago, creedon said:

Excellent! I suggest inviting me as a contributor with administrator privileges to your duplicate site. After you get the code installed I can double check that it is installed correctly and make the minor adjustment to the code needed for it to work with more than two letter sub-section codes.

If that sounds good to you I can DM my invite info.

Once you're happy that things are going well on the duplicate site, it should be pretty easy to manually replicate the changes back to your original site.

One last try on that thread. I was trying to point to a message within the thread. Here is the thread start. Does this work for you?

 

that would be amazing thamkyou, I will dm now

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.