edhex Posted December 13, 2020 Share Posted December 13, 2020 I am trying to integrate Algolia but it seems when I put the code in the whole site’s look and fonts change (become smaller, padding added to the sides of the page etc). I am just using an embed block - see the integration here (password: ed) https://www.thewesternport.com.au/code - with the Algolia block halfway down (the lists of bands coming) Playing around it is this line from the block's Algolia integration that is causing the whole site to change: <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> This is how the website is meant to look (larger font sizes and no padding on sides etc) https://www.thewesternport.com.au - just wondering if someone knows what might be the problem/ something I've missed Beyondspace 1 Link to comment
tuanphan Posted December 16, 2020 Share Posted December 16, 2020 Bootstrap CSS is the cause. 1 year ago I installed some effects that use Bootstraps, it causes the same issue, in addition it also distorts icons when inserting block in editing mode. You will need to write more CSS to override Bootstrap. Have you solved this yet? 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
Beyondspace Posted November 12, 2021 Share Posted November 12, 2021 On 12/13/2020 at 7:38 AM, edhex said: I am trying to integrate Algolia but it seems when I put the code in the whole site’s look and fonts change (become smaller, padding added to the sides of the page etc). I am just using an embed block - see the integration here (password: ed) https://www.thewesternport.com.au/code - with the Algolia block halfway down (the lists of bands coming) Playing around it is this line from the block's Algolia integration that is causing the whole site to change: <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> This is how the website is meant to look (larger font sizes and no padding on sides etc) https://www.thewesternport.com.au - just wondering if someone knows what might be the problem/ something I've missed You can found some scoped-bootstrap css build and place all your code inside that container BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
MWRDesignGroup Posted January 4, 2022 Share Posted January 4, 2022 Hi Ed, Curious if you got this to work. I have a client that needs to have the search tool directed to Algolia - it's required - and before I tackle the job, I want to be SURE this is not going to be a headache in SS. *I'm more of a designer, not coder, so this is quickly getting over my head. Thx! Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment