• Hello

    after switching theme into Convention text alligning in right sidebar stops working:

    http://screencast.com/t/eVu4N6BGuGp

    http://www.bbalternativa.sk/

    <p style="text-align: center;"><a title="Volebné noviny BBA" href="http://www.bbalternativa.sk/wp-content/uploads/2014/11/BBA-noviny-2014.pdf"><img class="alignnone size-full wp-image-170" alt="bba-infolist-2014" src="http://www.bbalternativa.sk/wp-content/uploads/2014/11/volebne.jpg" width="180" height="240"></a></p>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there yard,

    Hope you’re well today!

    The easiest way to fix this would be to simply add padding to widget on the left side to move it to the middle. Please try adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:

    http://wordpress.org/plugins/simple-custom-css

    .textwidget {
    padding-left: 30px;
    }

    This should center the widget in the sidebar.

    Best regards,
    Bojan

    Hi

    It looks as if your sidebar widgets are aligning the text in the centre however, your sidebar widgets CSS has some padding on the right which is pushing the containing divs within the widget to the left so it looks like it isn’t working, when it is..

    You need to update the css and remove this padding then made the containing divs full width.

    If you update the following CSS rule to this, it should work:

    #sidebar-widget {
    margin: 40px 0 0px 0;
    background-color: #fff;
    width: 260px;
    padding: 0px 0 50px 0px;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Text alligning center in sidebar doesn´t working’ is closed to new replies.