-
Posts
64,872 -
Joined
-
Last visited
-
Days Won
517
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by tuanphan
-
Global Header Settings not available.
tuanphan replied to nvonbodungen's topic in Getting Started With Squarespace
To adjust padding, you can adjust option "Height" If it still doesnt work, you can share site url, we can check easier. Sometimes I still see this problem (top padding > bottom padding), and will require some lines of CSS -
(0) you are setting Header button open in New tab, you need to disable this option (1) Next, add this code to Custom CSS, it will move this section to middle of screen [data-section-id="65caaf054567630bcf4944c5"] { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 999999; width: 90%; min-width: 300px; max-width: 750px; } footer.sections { z-index: 9999999 !important; } [data-section-id="65caaf054567630bcf4944c5"] .section-border { top: 0 !important; } span.close-popup { position: fixed; top: 10px; left: 10px; } You can adjust width value in the code (2) Next, add this code to Custom CSS, it will make this section disappear [data-section-id="65caaf054567630bcf4944c5"] { display: none; } .show-popup { display: block !important; } (3) Next, add this code to Website > Website Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('header#header a.btn').click(function(){ $('[data-section-id="65caaf054567630bcf4944c5"]').toggleClass('show-popup'); }); $('span.close-popup').click(function(){ $('[data-section-id="65caaf054567630bcf4944c5"]').removeClass('show-popup'); }); }); </script> I forgot, you are setting Header button open in New tab, you need to disable this option
-
You mean hover on bold text or hover on 8 text columns in your screenshot?
-
Use this code to Website > Website Tools > Custom CSS .page-text-wrapper.clearfix { margin-top: 0px !important; margin-bottom: 30px !important; } h1.page-title { margin-bottom: 30px !important; }
- 1 reply
-
- index
- index-page
-
(and 1 more)
Tagged with:
-
Header logo stuck on site's corner - how to move it slightly?
tuanphan replied to antinranta's topic in Other
You can use this code to Website > Website Tools (under Not Linked) > Custom CSS .header-announcement-bar-wrapper { padding-left: 3vw !important; } -
What is your site url?
- 3 replies
-
- hamburger
- hamburger-icon
-
(and 1 more)
Tagged with:
-
Hover over image diabled fore mobile version but not right
tuanphan replied to RAW's topic in Customize with code
Try this CSS Code @media screen and (max-width:767px) { #block-0caff5f46a51d3dfea13 { -webkit-transition: unset !important; -o-transition: unset !important; transition: unset !important; } } -
I tried creating a demo, you can check https://tuanphan.squarespace.com/typeform-popup?noredirect password: abc
-
How can I use code to change the Summary Block type styles?
tuanphan replied to cox_co's topic in Customize with code
Can you share link to page where you use summary block? We can check easier- 6 replies
-
- css
- summary-block
-
(and 1 more)
Tagged with:
-
Use this code to Website > Website Tools > Custom CSS /* writing options disable link */ .user-items-list-item-container[data-section-id="628637a8e6ac343848004edc"] * { pointer-events: none; }
-
-
Custom Hamburger Menu Overlapping Issue
tuanphan replied to ThomasDes's topic in Customize with code
Use this CSS code to fix problem [data-section-id="65ce6fa55def9a5d46065217"] { z-index: 999999 !important; }- 4 replies
-
- navigation
- overlay
-
(and 2 more)
Tagged with:
-
Can you share link to homepage? We can check easier
- 1 reply
-
- video
- custom-css
-
(and 1 more)
Tagged with:
-
Expand Dropdown Menu By Default on Mobile (Page View)
tuanphan replied to OmerOdemis's topic in Customize with code
Can you share link to this page? We can check easier -
How to adjust spacing on product page (mobile)
tuanphan replied to threadsonline's topic in Customize with code
#1. #2. Use this code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { section#pdp { padding: 0 !important; } section.product-details.ProductItem-details { padding-left: 2vw; padding-right: 2vw; } h1.ProductItem-details-title, .product-price { text-align: center; } }- 15 replies
-
Customizing hover effects on links for headings - 7.1
tuanphan replied to cfuzz's topic in Customize with code
Your site is private. You can follow this guide to share url- 9 replies
-
- fluid engine
- hover
-
(and 2 more)
Tagged with:
-
Two header buttons using Ghost Plugins Drop Down Menu
tuanphan replied to PoppyShotts's topic in Other
Change this code to this header#header a.second-button { background-color: #000 !important; color: #fff !important; display: inline-block !important; margin-left: 20px; } -
If you use Universal Filter Plugin to add dropdown filters, you can follow these steps to change url I did an example for Project 01, Project 02 here https://thung.squarespace.com/portfolio-filter?noredirect pass: abc (1) Add hooks code to this position hooks: { onFilter: function (f) { externalLink(f); } } (2) Add jQuery code above Universal Filter Plugin code <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> (3) Add this code to on top of Filter Plugin code, but under <script> tag var externalLink = function (f) { $('a.grid-item[href="/portfolio-filter/project-one-j5z9d"]').attr('href','https://google.com'); $('a.grid-item[href="/portfolio-filter/project-two-j6ehw"]').attr('href','https://amazon.com'); $('a.grid-item').attr('target','_blank'); }; (4) red arrow is Portfolio Item URL
-
Try this code to Website > Website Tools > Custom CSS .wrap a:visited { font-weight: bold !important; }
- 7 replies
-
- design
- custom-css
-
(and 3 more)
Tagged with:
-
You can move this code in to bottom of Code Block (do not add to Custom CSS) <style> .fe-65b1968b881a407ad804001e { --sqs-site-max-width: 100% !important; } </style>
-
You haven't declared @font-face for Botanica yet
-
Overlay and Caption on Hover for Videos
tuanphan replied to Swharton24's topic in Customize with code
Which exact code did you try? -
How can I change the title font used on individual event
tuanphan replied to michael.dabbs's topic in Customize with code
Can you share link to this event? We can check easier