Jump to content

Make heading not a link

Go to solution Solved by Ludmilla,

Recommended Posts

Very cool. Thank you so much. I dropped the css snipet into the custom css and voila. It's not a link anymore. It's been years since I  messed with css. 🙂 

Would you be able to help me to get rid of the ALL above the category title. See attached screen shot. If not, that's OK I can live with it. 

One more question. I'm searching for a template which would have a vertical navigation like "Wells" template. But I was told by the support that Wells is a previous version of Square and I cannot import my products into a previous version of Square. Kind of a bummer since there isn't a vertical nav in this Square version. 

Thanks again for your help. Much appreciated.

Ludmilla

Screenshot 2023-07-26 at 8.51.24 PM.png

Link to comment

#1. Add to Design > Custom CSS

/* remove All */
nav.nested-category-breadcrumb {
    display: none !important;
}

#2. Use this CSS

/* Float header */
@media screen and (min-width:992px) {
  .header-title {
    position: fixed;
    top: 3vw;
    left: 5vw;
    z-index: 9999;
}
.header-nav {
    position: fixed;
    top: 10vw;
    left: 5vw;
    padding: 0 !important;
}
  nav {
    flex-direction: column;
  }
  div.header-nav-item {
    margin: 0 !important;
    text-align: left !important;
}
  div.header-nav-item  a{
   display: inline-block;
}
.header-actions.header-actions--right {
    position: fixed;
    left: 5vw;
    bottom: 2vw;
    justify-content: flex-start !important;
}
.header-actions--right .header-actions-action a {
    margin-left: 0 !important;
    margin-right: 2.5vw;
}
#page article section {
    max-width: 90%;
    margin-left: 10%;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
14 hours ago, Ludmilla said:

Sorry for being dense. Am I dropping both #1 and #2 into the custom CSS?

And do I keep the one I dropped in in the first place?

div.header-nav-item:first-child>a {
	pointer-events: none;
}

Yes. Keep all three code in CSS box

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

 I noticed that those little icons (insta, twitter, shopping cart) got moved to the bottom of the page. is there a way to bring them back up to the top right corner of the page. It seems they get lost at the bottom. See screen shot. Also can you bring the nav up a bit. sort of aligned with the text? See screen shot.

Many thanks. 

Ludmilla

Screenshot 2023-08-03 at 2.58.12 PM.png

Screenshot 2023-08-03 at 3.30.04 PM.png

Link to comment

Actually I'm fine with the navigation being a bit lower. It looks really good on the secondary pages. So no worries there. The only thing I would much appreciate if you can help me to move the icons Especially the Shopping Cart at the top right.

Many thanks. 

Ludmilla

Link to comment
On 7/31/2023 at 11:17 AM, tuanphan said:

#1. Add to Design > Custom CSS

/* remove All */
nav.nested-category-breadcrumb {
    display: none !important;
}

#2. Use this CSS

/* Float header */
@media screen and (min-width:992px) {
  .header-title {
    position: fixed;
    top: 3vw;
    left: 5vw;
    z-index: 9999;
}
.header-nav {
    position: fixed;
    top: 10vw;
    left: 5vw;
    padding: 0 !important;
}
  nav {
    flex-direction: column;
  }
  div.header-nav-item {
    margin: 0 !important;
    text-align: left !important;
}
  div.header-nav-item  a{
   display: inline-block;
}
.header-actions.header-actions--right {
    position: fixed;
    left: 5vw;
    bottom: 2vw;
    justify-content: flex-start !important;
}
.header-actions--right .header-actions-action a {
    margin-left: 0 !important;
    margin-right: 2.5vw;
}
#page article section {
    max-width: 90%;
    margin-left: 10%;
}
}

 

In this code

Change this

.header-actions.header-actions--right {
    position: fixed;
    left: 5vw;
    bottom: 2vw;
    justify-content: flex-start !important;
}

to this

.header-actions.header-actions--right {
    position: fixed;
    right: 2vw;
    top: 2vw;
    justify-content: flex-start !important;
}

image.thumb.png.43c76b13230e2ea74d053616e2bc6bdf.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...

Hi tuanphan

Surprisingly I have another request. I have created a new page. And a Blank Page > Gallery. 

Links is AI Gallery:

https://www.ludmillasart.com/gallery1

The issue with the page is that it is way to wide and left side runs into the left navigation.

Is there a way to make the block displaying the images not as wide? There is no way to control it from the edit page. Just the gallery page (and any other gallery pages I will be creating). The products pages look great. 

Thank you so much~!

Ludmilla

 

Link to comment

#Option 1. You can adjust this code

image.thumb.png.b540c81642a4ba395567b3ca719fdef6.png

#Option 2. You can add this code to /gallery1 Page Settings > Advanced > Right box

<style>
  @media screen and (min-width:768px) {
  #page article section {
    max-width: 80%;
    margin-left: 20%;
}
  }
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 8/27/2023 at 5:15 AM, Ludmilla said:

Thank you so much. I had no clue one can insert style sheet code into a specific page . Again, it works like a charm.

Thanks! 

Ludmilla

With Page Settings, just hover page name on Main Navigation or Not Linked > You will see a gear icon on right > Just click on it > Advanced > You will see a right box

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 weeks later...

Here I'm again with another question. On this page https://www.ludmillasart.com/gallery1

I inserted sections called "text boxes" to title the different galleries, Out On the Farm, City Life, etc. However editing the appearance of the text box section is very limited. It's too high right now, there is enormous amount room above and below the actual text creating a lot of useless space especially on mobile devices. The text box  section has "rows", which I'm able to increase but the minimum is set to 4 which makes it too high when there is only one line of text.

I looked into the source code hoping to find the style for this particular section but I'm way too rusty. 😞 There must be a way to override it and change the minimum to 1 or 2.

I opened the page in mobile view and now I see 13 rows for that text section. I tried to change the number of row but it's not letting me. See attached screen shot. 

Thanks in advance for your help, if possible.

Ludmilla

Screenshot 2023-09-22 at 9.27.10 AM.png

Link to comment

Add to Website > Website Tools > Custom CSS

/* section height mobile */
@media screen and (max-width:767px) {
/* Out on the Farm */
[data-section-id="650cdb10457a6f232b4ada84"] .fluid-engine {
    grid-template-rows: repeat(2,minmax(24px, auto)) !important;
}
/* city life */
[data-section-id="650cdbdaead3997465a41359"] .fluid-engine {
    grid-template-rows: repeat(2,minmax(24px, auto)) !important;
}
}

Do similar for other sections, use this free tool to find data section id

https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 weeks later...

A new issue came up. Suddenly there is a big gap between the nav and the image display. It's perfectly fine in mobile viewing (of course) but on the desktop it's seems kind of large. And the images display rather small. Is there a way to close the gap and have the product image be a bit larger?Just a bit, not huge. It also seems that the product description text is too narrow. Like everything got squeeze to the left. Sorry to bug you! 

https://www.ludmillasart.com/art/p/meadow-surreal-painting

Thank you in advance.

Ludmilla

space.jpg

Link to comment
2 hours ago, Ludmilla said:

A new issue came up. Suddenly there is a big gap between the nav and the image display. It's perfectly fine in mobile viewing (of course) but on the desktop it's seems kind of large. And the images display rather small. Is there a way to close the gap and have the product image be a bit larger?Just a bit, not huge. It also seems that the product description text is too narrow. Like everything got squeeze to the left. Sorry to bug you! 

https://www.ludmillasart.com/art/p/meadow-surreal-painting

Thank you in advance.

Ludmilla

space.jpg

 

Replace these code

#page article section {
  max-width: 90%;
  margin-left: 10%;
}

With these code below

#page article > section {
  max-width: 90%;
  margin-left: 10%;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
56 minutes ago, Ludmilla said:

Thank you for your reply. It looks to me your suggested code is the same as the original. 

I will wait for @Tuanphan reply since he helped enormously and all his css tweaks worked. 

Thank you again.

Cheers, Ludmilla

I think you didn't understand my code difference. You should add a right arrow in the middle article and section. See the image

Screenshot_283.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.