Guest Posted January 13, 2021 Share Posted January 13, 2021 Site URL: https://shapemeup.ca Hi everyone! I'm helping a client with her site, and unfortunately I'm unable to horizontally align the header's text and image. I would typically opt for flexbox or grid, but whenever I select the ID of the element holding the divs and write up display: flex; align-items: center; it shows as if it has worked, great. However, when I press save, nothing has happened. When I go on the inspector tools and see if it has actually saved, it says it has, however the flexbox properties are strictly not working, even if I'm using the `!important` attribute. Sad thing is, if I try using another CSS attribute in that element, such as changing the background-color, it works completely fine. Any info would be great. I'm a professional web developer and I've tried for hours to no avail. Imagine my frustration, lol. Link to comment
Beyondspace Posted January 13, 2021 Share Posted January 13, 2021 1 hour ago, reemify said: Site URL: https://shapemeup.ca Hi everyone! I'm helping a client with her site, and unfortunately I'm unable to horizontally align the header's text and image. I would typically opt for flexbox or grid, but whenever I select the ID of the element holding the divs and write up display: flex; align-items: center; it shows as if it has worked, great. However, when I press save, nothing has happened. When I go on the inspector tools and see if it has actually saved, it says it has, however the flexbox properties are strictly not working, even if I'm using the `!important` attribute. Sad thing is, if I try using another CSS attribute in that element, such as changing the background-color, it works completely fine. Any info would be great. I'm a professional web developer and I've tried for hours to no avail. Imagine my frustration, lol. What is the full code you used, I placed this code and it working well section[data-section-id="5eb775d93e021120eb37843c"] [data-type="page-section"] > .row { display: flex; align-items: center; } tuanphan 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you 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