Jump to content

Add Subtitle to product page

Recommended Posts

  • 3 weeks later...
On 7/26/2022 at 2:23 PM, halfhide said:

Hi Tuanphan

Thank you so much! It worked!

I have another questions, if it's ok. Is there anyway I can stop the Add to Cart-button becoming smaller, after I have clicked on it? 

Thanks. Alastair

 

Add to Design > Custom CSS

div.sqs-add-to-cart-button {
    width: 100% !important;
}

 

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...
On 8/9/2022 at 4:45 PM, halfhide said:

Thanks mate! 

I hope it's okay I keep asking 🙂 

Now that I have used the code from: https://sf.digital/squarespace-solutions/display-product-titles-on-two-lines-with-squarespace-71 , I cant change the font size on the shop page, and it is way to large now. 

Is there any way to solve this?

Thanks! 

Skærmbillede 2022-08-09 kl. 11.44.07.png

You mean change font of title?

https://teal-oboe-kfw9.squarespace.com/shop

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/11/2022 at 2:35 PM, halfhide said:

That is correct - I can't change it now, after I inserted the code. My client wants it smaller, like a paragraph.

Add to Design > Custom CSS

[data-section-id="6239b64182f2c326a6595b18"] .grid-title,
[data-section-id="6239b64182f2c326a6595b18"] .grid-title:first-line  {
    font-size: 20px !important; 
    line-height: 1em !important
}

 

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/17/2022 at 12:31 AM, halfhide said:

Worked a treat! As usual! Amazing!

And can you see why the Navigation on the last step is so close to the images? See the attached. 

Skærmbillede 2022-08-16 kl. 19.29.51.png

Which page are you referring to? 

image.thumb.png.6ac354b2356c749cd37860c6bb011874.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
On 8/19/2022 at 2:44 PM, halfhide said:

Sorry, under the Shop -> Tea -> Matcha

It is like this on all 3rd tier categories. 

 

Try adding to Design > Custom CSS

nav.nested-category-breadcrumb {
    padding-bottom: 20px;
}

 

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/25/2022 at 5:39 PM, halfhide said:

The titel Recommendations is in the middle, but the Summarary-block with two images won't center. You can see it on the gutter which sleightly leans to the left. Does the screenshot here help?

 

 

Skærmbillede 2022-08-25 kl. 12.32.png

Try adding to Design > Custom CSS
 

@media screen and (min-width:992px) {
div#block-62ebde00779af3b13b5f6022 .summary-item {
    margin-right: 0.98425% !important;
    margin-left: 0.98425% !important;
}
}

 

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

So good! It works perfectly! 

 

I have a little trouble with my customized header navigation. I have split it between the logo with some css coding and it looks great on bigger screens. But it doesn't work at all when the screen is smaller. 

Is there a smart way I can make i responsive, so the right side doesn't go down in the logo? See screenshot. 

Thanks a lot! 

Skærmbillede 2022-08-30 kl. 11.44.24.png

Skærmbillede 2022-08-30 kl. 11.44.34.png

Link to comment

tyst1234

https://teal-oboe-kfw9.squarespace.com/

You can remove code you used to make split nav. Then adjust header layout to

Left nav - Middle Logo

Then we will give new code to make split nav, work on all devices

 

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
17 hours ago, halfhide said:

Fantastic Tuan - it is done now 🙂  

It is meant to look like this, but without UK, Search and burger. Just the Cart on right side. 

Thank you very much!!! 

Skærmbillede 2022-08-30 kl. 17.06.33.png

Add to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  jQuery(document).ready(function($){
  $('.header-display-desktop nav.header-nav-list').clone().insertAfter('.header-actions.header-actions--right>.showOnMobile');
})
</script>
<style>
  .header-display-desktop .header-actions--right .header-nav-list .header-nav-item:nth-child(-n+2) {display: none;}
.header-display-desktop .header-title-nav-wrapper .header-nav-list .header-nav-item:nth-child(n+3) {display: none;}
  .header-nav-item:nth-child(n+3) {
    margin-right: 1.5vw;
}
.header-actions.header-actions--right * {
    opacity: 1;
    transform: unset;
}
</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

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.