ImaginativeSLP Posted February 19, 2023 Share Posted February 19, 2023 (edited) Hello, I have custom bullet points on my site, but the first bullet point is way down from the top of the block. I'd like to move it closer, move the bullet points to be inline with the text (and hide the built in bullet points), and shrink the boxes to fit the content. I'm using CSS to do this, how do I make it work like the images below? the website is imaginativeslp.com (This is how it currently is) (This is how I want it to look) Here is the current CSS #block-63f18965fc991b75eabd0318 ul { list-style-type: none !important;} #block-63f18965fc991b75eabd0318 .sqs-block-content li:before { content: " " !important; display: block; height: 55px; position: relative; top: 50px; left: -60px; width: 60px; margin-top: 0pt; margin-bottom: 0px; background-image: url(https://images.squarespace-cdn.com/content/5f331ab5d0074150a92e176f/9d7e9845-ad4f-45af-afef-e5092e0f2629/Star+Cluster_3.png?content-type=image%2Fpng); background-size: contain; margin-right: 5px; } Edited February 20, 2023 by ImaginativeSLP Link to comment
tuanphan Posted February 21, 2023 Share Posted February 21, 2023 Add to Design > Custom CSS div#block-63f18965fc991b75eabd0318 li { display: flex; align-items: center; } #block-63f18965fc991b75eabd0318 .sqs-block-content li:before { position: static; background-size: contain !important; } div#block-63f18965fc991b75eabd0318 ul { padding: 0px; } 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
ImaginativeSLP Posted February 21, 2023 Author Share Posted February 21, 2023 Thank you Tuanphan, that is closer, but there is still a few problems. The original bullet point is still visible (It's the purple dot) The image-bullets now repeat for the height of the bullet Link to comment
ImaginativeSLP Posted February 23, 2023 Author Share Posted February 23, 2023 (edited) Hello @tuanphan, I still need some help with this when you get a chance. In addition if you have a moment I am also trying to make the arrow keys in the testimonials section change the background color on hover, but I can only get it to work for the outside part of the colored circle. I can't get the arrow hover event, only the background hover event. section[data-section-id="63da0d96a2da9f1289ae15a8"] .user-items-list-banner-slideshow__arrow-icon-background-area:hover { background-color: #c951f4; } /* testimonial arrow hover color, not working */ /* section[data-section-id="63da0d96a2da9f1289ae15a8"] .user-items-list-banner-slideshow__arrow-icon:hover + section[data-section-id="63da0d96a2da9f1289ae15a8"] .user-items-list-banner-slideshow__arrow-icon-background-area { background-color: #c951f4; } EDIT: I was able to solve the arrow keys background color with a child selector! Here is the code section[data-section-id="63da0d96a2da9f1289ae15a8"] .user-items-list-banner-slideshow__arrow-button--left:hover > .user-items-list-banner-slideshow__arrow-icon-background-area { background-color: #c951f4; //check if the user is hovering over the left button, then use the child selector to select the background color element and change it } section[data-section-id="63da0d96a2da9f1289ae15a8"] .user-items-list-banner-slideshow__arrow-button--right:hover > .user-items-list-banner-slideshow__arrow-icon-background-area { background-color: #c951f4; //check if the user is hovering over the right button, then use the child selector to select the background color element and change it } Edited February 25, 2023 by ImaginativeSLP Link to comment
ImaginativeSLP Posted February 23, 2023 Author Share Posted February 23, 2023 I got the original bullet points removed using this code, I found it from a reply you made on another thread! #block-63f18965fc991b75eabd0318 .sqs-block-content ul li p::before { display: none !important; } tuanphan 1 Link to comment
tuanphan Posted February 27, 2023 Share Posted February 27, 2023 Did you solve all or still need help? 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
ImaginativeSLP Posted February 27, 2023 Author Share Posted February 27, 2023 I still need help. I can't get the margin/padding on the top of the block to go away without other things breaking. Here is the current css // Custom Bullet Points #block-63f18965fc991b75eabd0318 .sqs-block-content ul li p::before { display: none !important; } div#block-63f18965fc991b75eabd0318 ul { padding: 0px; margin-left: 30px; } #block-63f18965fc991b75eabd0318 .sqs-block-content li:before { content: '' !important; display: block; height: 55px; position: relative; top: 70px; left: -60px; width: 60px; margin-top: 0pt; //margin-left: 30px; background-image: url(https://images.squarespace-cdn.com/content/5f331ab5d0074150a92e176f/4143368b-8051-4234-a41b-6f0650f32ef1/Star+Cluster_3.png?content-type=image%2Fpng); background-size: contain; margin-right: 5px; background-repeat: no-repeat; } Link to comment
tuanphan Posted March 5, 2023 Share Posted March 5, 2023 On 2/28/2023 at 4:22 AM, ImaginativeSLP said: I still need help. I can't get the margin/padding on the top of the block to go away without other things breaking. Here is the current css // Custom Bullet Points #block-63f18965fc991b75eabd0318 .sqs-block-content ul li p::before { display: none !important; } div#block-63f18965fc991b75eabd0318 ul { padding: 0px; margin-left: 30px; } #block-63f18965fc991b75eabd0318 .sqs-block-content li:before { content: '' !important; display: block; height: 55px; position: relative; top: 70px; left: -60px; width: 60px; margin-top: 0pt; //margin-left: 30px; background-image: url(https://images.squarespace-cdn.com/content/5f331ab5d0074150a92e176f/4143368b-8051-4234-a41b-6f0650f32ef1/Star+Cluster_3.png?content-type=image%2Fpng); background-size: contain; margin-right: 5px; background-repeat: no-repeat; } You mean this padding? https://www.imaginativeslp.com/ 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
Dovely2023 Posted September 13, 2023 Share Posted September 13, 2023 Hi @tuanphan we have a client who is using the traditional bullet points, but we can't for the life of us find how to align the bullets with the text to the right of it. Could you take a look and let us know what you think? Below is the link to the page. Thank you for your help. https://gerbil-pentagon-77w8.squarespace.com/work-with-us Link to comment
tuanphan Posted September 15, 2023 Share Posted September 15, 2023 On 9/14/2023 at 12:23 AM, Dovely2023 said: Hi @tuanphan we have a client who is using the traditional bullet points, but we can't for the life of us find how to align the bullets with the text to the right of it. Could you take a look and let us know what you think? Below is the link to the page. Thank you for your help. https://gerbil-pentagon-77w8.squarespace.com/work-with-us You can add this to Website > Website Tools > Custom CSS /* align bullet - text */ ul[data-rte-list] li>*:first-child::before, ol[data-rte-list] li>*:first-child::before { position: relative; top: 5px; } Dovely2023 1 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
Dovely2023 Posted September 15, 2023 Share Posted September 15, 2023 10 hours ago, tuanphan said: You can add this to Website > Website Tools > Custom CSS /* align bullet - text */ ul[data-rte-list] li>*:first-child::before, ol[data-rte-list] li>*:first-child::before { position: relative; top: 5px; } Worked perfectly! Thank you so much @tuanphan tuanphan 1 Link to comment
midunlap Posted August 12 Share Posted August 12 @tuanphan I also am running into a challenge with this. I would like the hanging bullet to align to the top and not the middle of the bulleted list. See "Christian Counseling & Educational Foundation Link to comment
tuanphan Posted August 15 Share Posted August 15 On 8/12/2024 at 6:27 PM, midunlap said: @tuanphan I also am running into a challenge with this. I would like the hanging bullet to align to the top and not the middle of the bulleted list. See "Christian Counseling & Educational Foundation Can you share link to this page? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment