Jl87 Posted January 1 Posted January 1 Hi. I've added buttons to my accordion. How do I remove the underline from the button (text-decoration CSS not working)? How do I get the button to "center" in the accordion block and not be left aligned? How do I add one or two line space from the text in the accordion and the button? } .sqs-block-accordion a { border: 0px; background: #FFCC02; color: # !important; padding: .75rem; font-weight: 650; border-radius: 18px; display: inline-block; padding-top: .75rem; padding-bottom: .75rem; padding-right: 2rem; padding-left: 2rem; text-decoration-line: none !important; &:hover { background: #282E42 !important; transition: 0.2s; color: #FFF !important; } } website: www.gtmenabler.com
tuanphan Posted January 3 Posted January 3 #1. #3. Use this CSS code div.accordion-block p a { border: none !important; text-decoration: none !important; background-image: None !important; margin-top: 50px !important; display: inline-block !important; } #2. Use this CSS code div#block-yui_3_17_2_1_1703965115767_14755 div.accordion-item__description>p:last-child { text-align: center; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment