Hi @slbrown415
I hope you’re doing fine today!
The CSS that you tried is for popup while on your site you’re actually using slide-in. It’s a different module so the code will be similar but not the same. It requires few small modifications:
.hustle_module_id_2 .hustle-content .hustle-title {
text-align: center;
}
.hustle_module_id_2 .hustle-content a.hustle-button-cta {
margin:0 auto!important;
display:block!important;
width:150px!important;
}
.hustle_module_id_2 .hustle-group-content,
.hustle_module_id_2 .hustle-group-title {
border:0!important;
}
Above CSS should work on your site. Note please:
1) I used “!important” flag which isn’t quite an “elegant” solution and is not recommended but in this case it might be necessary to “force-overwrite” Hustle core code. I suggest trying this CSS first without “!important” and only adding it if it doesn’t work otherwise (I tested it in browser so it’s a bit different)
2) you might want to adjust the 150px value to make the CTA button wider or narrower.
Best regards,
Adam
Thanks so much, Adam!
I did have to keep !important for the CTA, but the title worked without. I appreciate it!
Is there a way to remove the line breaks before and after the text content?
Steph
Hello @slbrown415 ,
Please try this code:
.hustle_module_id_2.hustle-ui .hustle-info.hustle-info--compact .hustle-layout .hustle-content .hustle-group-title:not(:last-child),
.hustle_module_id_2.hustle-ui .hustle-info.hustle-info--compact .hustle-layout .hustle-content .hustle-group-content:not(:last-child) {border-bottom: none;}
kind regards,
Kasia