tareq1988 / wedocs

A documentation theme for WordPress
http://docs.wedevs.com
391 stars 130 forks source link

Full width template isn't full width #28

Open scottbuscemi opened 8 years ago

scottbuscemi commented 8 years ago

With the theme activated, choosing "Full Width" as the template doesn't result in a full width page. Instead, the page still has a sidebar.

scottbuscemi commented 8 years ago

Here's the fix, starting on line 66 of /lib/config.php:

        array('is_page_template()', array(
            'template-custom.php',
            'full-width')
        )
milansimek commented 7 years ago

That didn't work for me. The following did though:

array('is_page_template()', array(
            'templates/full-width.php'
            )
        )
toasti2000 commented 5 years ago

Did not work for me. Any idea how to get the complete website with all docs and pages full width?

thebengalboy commented 5 years ago

Hello @toasti2000

It used bootstrap with the wrap and container class. However, changing the 'container' class to 'container-fluid' makes it 100% wide.

Open the file ..../wp-content/themes/wedocs-theme/base.php; change the class on line number: 20.

I hope this will help :)

Thanks

toasti2000 commented 5 years ago

Perfect, worked like a charm! Thank you very much!

thebengalboy commented 5 years ago

You are most welcome, @toasti2000 and glad that it helped you!

If you can manage a minute for us, would love to hear your valuable feedback about us :)

Thanks again

toasti2000 commented 5 years ago

I have another question :-) - is there anything possible regarding this "issue": https://github.com/tareq1988/wedocs/issues/56