• Resolved Anton.M

    (@antonmsbor)


    Good afternoon!

    I liked your theme very much, but ran into one problem. My page does not have a sidebar, so in every post I have to switch the layout in “Sidebar Layout” to “No Sidebar”.
    Tried to forcibly switch $total_sidebar_layout to no_sidebar in total/inc/total-metabox.php:

        if (!$total_sidebar_layout) {
            $total_sidebar_layout = 'no_sidebar';
        }

    But in the end, my choice stops working at all. Several layouts are highlighted at the same time.

    Tell me how to define the default layout correctly?
    Thanks for the answers!

    • This topic was modified 5 years ago by Anton.M.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author hashthemes

    (@hashthemes)

    Making changes in the code is not a good idea. I will give you an easy CSS hack for it. Go to Appearance > Customize > Additional CSS and paste the below CSS code

    #secondary{display:none}
    #primary{width: 100%;}

    Thread Starter Anton.M

    (@antonmsbor)

    Thanks!

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

The topic ‘Default value on “Sidebar Layout”’ is closed to new replies.