Centrally align SoundCloud embeds
-
I am trying to centrally align a SoundCloud embed underneath text. Using the Zoologist theme it appears to be fin but using the twenty twenty-four theme it is not.
I have tried wrapping it in a group block and centrally aligning that btu alas that does not appear to work here. My zoologist site is https://ngwsandbox0001.wordpress.com/
My 2024 site is here https://ngwsandbox0004.wordpress.com/
Any advice welcome.
Thx in advance
The blog I need help with is: (visible only to logged in users)
-
What page are you trying to work on? I can help with a css code snippet that should work. But I need to see the page first. The links you shared don’t lead to any page with the soundcloud.
-
-
Hello.
i am looking at the page and it talks about various parameters such as autoplay and color but i cannot see any notes about central alignement.
thx
-
Paste this code inside customizer
.page-id-758 .wp-block-site-title.has-medium-font-size {text-align: center;} -
Thanks. Sorry to ask but do you mean me to insert this in the field named “Additional CSS class(es)” when i select my SoundCloud block?
Thanks again.
-
-
Thank you again. I have done that. I copied everything from the spaces above to the final brace and pasted it in the field as is.
When i copy it out get:
.page-id-758 .wp-block-site-title.has-medium-font-size { text-align: center; }
I still have the Soundcloud block wrapped in a group block but knowingly nothing else. I have removed the group block and there is no change in that. Hope there is not anything i have messed up by accident.
I cannot seem to attach a screenshot to demonstrate my failure. As the website is public i am hoping you will be able to see this for yourself.
Test01
Thx again
Nigel
- The topic ‘Centrally align SoundCloud embeds’ is closed to new replies.