• Resolved sahr

    (@sahr)


    Hello,

    I would like to center the sidebar on the right side of the home screen.
    How do I do this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @sahr

    This snippet of CSS should let you do just that. Please paste it inside the Additional CSS section of the Customiser.

    .ct-sidebar {
    text-align: center;
    }

    Let me know if this works!

    Thanks

    Thread Starter sahr

    (@sahr)

    I tired the code on the Additional CSS section of the customizer tab but it did not work.

    I tried to put it in the appearance –> theme editor –> sidebar section, but I received this code “Your PHP code changes were rolled back due to an error on line 17 of file wp-content/themes/blocksy/sidebar.php. Please fix and try saving again.
    syntax error, unexpected ‘.’, expecting end of file”

    Theme Author Creative Themes

    (@creativethemeshq)

    Hello @sahr,
    You don’t have to place that CSS code inside a php file, this will break the theme 🙂

    The CSS code my colleague provided works fine, please se this video – https://d.pr/v/POyRxd

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Centering Sidebar’ is closed to new replies.