Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

tuanphan

Circle Member
  • Content Count

    4,263
  • Joined

  • Last visited

  • Days Won

    33

Everything posted by tuanphan

  1. Can you share link to collection page? I guess you need to use JS to insert button in this case.
  2. Can you describe more clearly what you mean? How do you get images to hover when your mouse is above them? and link to images in screenshot
  3. You can use custom code. If you provide link to blog title, we can take a look.
  4. You can do with custom CSS. Can you share link to shop page?
  5. If you can't find an option, you can add a link, then use CSS to turn it to rss button.
  6. You can use custom code. Link to quote block will be better. Difficicult to help without linkl
  7. Can you provide link to email newsletter form?
  8. Can you provide link to text code on your site?
  9. Need some Flex CSS to reorder. Which section do you say?
  10. Can you provide link to portal page on your ss site?
  11. Hm I guess you need to use JS to change attribute value 0.15 Also, you should share link to your site. Difficulot to check without site url
  12. add to Home > Design > custom CSS .header .header-announcement-bar-wrapper { position: fixed; z-index: 999; left: 0; right: 0; top: 0; }
  13. add to Cover Page Header <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.sqs-slice a').attr('href','https://example.com'); </script>
  14. Sorry, I'll off forum in the next 2 weeks for LUnar New Year. Will check later. Or you can also send to my email in signature.
  15. edit your code to, I added open script tag <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/2.6.0/css/flag-icon.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> window.Squarespace.onInitialize(Y, function(){ /* SETUP MULTI-LANGUAGE */ var defaultLanguage = 'en'; var lang = location.pathname.split("/")[1]; var defaultClass = 'lang-'+defaultLanguage+''; var itemParent = "nav [class*='collection'],nav [class*='folder'],nav [class*='index'],nav [class*='group']"; if (lang == "" || lang.length > 2 ){ var lang = defaultLanguage; } /* ADD LANGUAGE CLASSES */ $('a[href="/"]').addClass('lang-'+defaultLanguage+'').parents(itemParent).addClass('lang-'+defaultLanguage+''); $('nav a:link:not([href^="http://"]):not([href^="https://"])').each(function () { var langType = $(this).attr('href').split("/")[1]; var multiLanguageClass = 'multilanguage lang-' + langType + ''; if (undefined !== langType && langType.length <= 2) { $(this).addClass(multiLanguageClass).parents(itemParent).addClass(multiLanguageClass); } }); $('nav button').each(function () { var langTypeFolder = $(this).attr('data-controller-folder-toggle').split("/")[0]; var multiLanguageClass = 'multilanguage lang-' + langTypeFolder + ''; if (undefined !== langTypeFolder && langTypeFolder.length <= 2) { $(this).addClass(multiLanguageClass); } }); /* HOMEPAGE-LOGO LINKS TO PROPER LANGUAGE HOMEPAGE */ if (lang == "en") { $('a[href="/"]').attr("href", "/en/online-agency/"); } /* ADD EXCLUSION NAV ITEMS */ $('.exclude-me,.exclude-me a').addClass('exclude'); $('.sqs-svg-icon--list a,.SocialLinks-link').addClass('exclude'); /* REMOVE OTHER LANGUAGES AND KEEP EXCLUDED ITEMS */ $('.multilanguage:not(".lang-'+lang+',.exclude")').remove(); /* SETUP LANGUAGE SWITCHER */ $('body').prepend('<div class="language"><a href="/en/online-agency" class="lang-en"><span class="flag-icon flag-icon-nz"></span></a> <a href="/de/online-agentur/" class="lang-de"><span class="flag-icon flag-icon-ch"></span></a></div>'); } /* HOMEPAGE-LOGO LINKS TO PROPER LANGUAGE HOMEPAGE */ if (lang == "de") { $('a[href="/"]').attr("href", "/de/online-agentur/"); } if (lang == "en") { $('a[href="/"]').attr("href", "/en/online-agency/"); } /* SETUP URL REROUTE FOR MATCHING LANGUAGE PAGE */ var pages = [ {'de': '/de/', 'en': '/en/'}, {'de': '/de/online-agentur', 'en': '/en/online-agency/'}, {'de': '/de/prozess/', 'en': '/en/process/'}, {'de': '/de/kueber-uns/', 'en': '/en/about/'}, {'de': '/de/kontakt/', 'en': '/en/contact/'} ]; $.each(pages, function(index, page_map){ if (window.location.pathname === page_map[lang]){ if (lang === "de"){ $(".language a.lang-de").attr("href", page_map[lang]); $(".language a.lang-en").attr("href", page_map['en']); } else { $(".language a.lang-en").attr("href", page_map[lang]); $(".language a.lang-de").attr("href", page_map['de']); } } }) }); </script>
  16. add to Page Header of that page. It will hide header (logo + menu) <style> header#header { display: none; } </style>
  17. It see correct font here. (checked by WhatFonts extension)
  18. add to Home > Design > Custom CSS @media screen and (min-width:640px) { /* Desktop */ header.Header.Header--bottom { position: fixed; top: 0; left: 0; right: 0; z-index: 999; padding-bottom: 30px; } /* Remove Overlap Content */ .Content-outer { margin-top: 90px; } } /* Mobile */ .Mobile-bar.Mobile-bar--top { position: fixed; top: 0; z-index: 999; left: 0; right: 0; }
  19. add to Home > Design > Custom CSS @media screen and (min-width:640px) { /* Desktop */ header.Header.Header--bottom { position: fixed; top: 0; left: 0; right: 0; z-index: 999; padding-bottom: 30px; } /* Remove Overlap Content */ .Content-outer { margin-top: 90px; } } /* Mobile */ .Mobile-bar.Mobile-bar--top { position: fixed; top: 0; z-index: 999; left: 0; right: 0; }
×
×
  • Create New...