weDevsOfficial / wedocs-plugin

A documentation plugin for WordPress
https://wordpress.org/plugins/wedocs/
GNU General Public License v2.0
195 stars 93 forks source link

Shortcode col #98

Open markebolden opened 4 years ago

markebolden commented 4 years ago

If I use [wedocs col="3"] I get 3 columns skinny and smashed into one column on the far left. I am using the Wordpress Understrap theme. Any ideas why I might be seeing this?

richardpbull commented 3 years ago

It likely clashes with bootstrap "col" class.... col-2 is 2/12 of the width, col-3 is 3/12 the width of the parent. So it is an unfortunate choice for weDocs author to use this given many themes use bootstrap. Follow the instructions in: https://github.com/tareq1988/wedocs-plugin/wiki/Templating You can change the shortcode.php to remove the weDocs code and replace with a width / class you prefer. "col-6" would be 50% width.

Rubaiyat-E-Mohammad commented 3 weeks ago

We can add more Documentation homepage showcasing style to get rid of this problem and make the process easier for users Image

Beevers commented 2 weeks ago

Having a similar issue. When enabling the Wedocs Pro Version it completely kills the 3 column. When it is disabled the third column works as intended. Something with the showcasing style seems to be overriding the [wedocs col="3"] shortcode.