Align sidebard to the right
-
Hello everyone !
I’m new here and after a search on the forum, I haven’t found a solution to my little problem.
I have a sidebar with widgets in it on the right of my page, which is perfect.
But I would like the content of my sidebar to be aligned on the right. And I don’t have a clue about how to do it.
Could someone be kind enough to tell me how to achieve that?
Thanks a lot and have a nice day,
cecilia
-
http://codex.wordpress.org/Forum_Welcome#Include_as_Much_Information_as_Possible
details to the formatting will depend on your currently used theme.
ideally, please post a live link to your site to illustrate your problem, and to allow somebody to investige the formatting, using a browser inspection tool.
Thanks a lot for your reply Alchymyth !
Here’s the link to the website : http://www.mondrian-change.com/Blog/
The theme used is ThemifyThanks again for your help !
This is a relatively easy fix. If you’re not already using a child theme to make modifications to your theme I would suggest you implement one before proceeding with my suggestions.
Child themes are relatively easy to set up, you can read all about them here: https://codex.wordpress.org/Child_Themes
If you’re still struggling you can also try the One-Click Child Theme plugin https://wordpress.org/plugins/one-click-child-theme/
As for the CSS itself, you could add the following CSS to your child theme for the desired effect.
#sidebar { text-align: right; } #sidebar #mc_embed_signup_scroll { overflow: hidden; } #sidebar #mc_embed_signup form { float: right; } #sidebar #mc_embed_signup input.button { float: right; }
The topic ‘Align sidebard to the right’ is closed to new replies.