Page 1 of 1
Blog Styling
Posted: Mon Jan 27, 2020 9:11 pm
by bmherard
I'm creating a fluid theme for WonderCMS 3.x. but want to constrain some content, like the blog, to a fixed width. I'm using Bootstraps "container-fluid" and "container". I know where in the "class.SimpleBlog.php" to put my opening <div> (see below) but can't figure out where to put the closing </div>. Does anyone have an idea?
175 // Start rendering homepage
176 $args[0] = "<div class='container'>";
Re: Blog Styling
Posted: Tue Jan 28, 2020 1:31 pm
by bmherard
bmherard wrote: ↑Mon Jan 27, 2020 9:11 pm
I know where in the "class.SimpleBlog.php" to put my opening <div> (see below) but can't figure out where to put the closing </div>.
Figured it out...
202 HTML;
203 }
204 $args[0] .= "</div>";
205
206 break;
This is really only useful if your theme doesn't use the 'subside' block as side bar in the main content area.
Re: Blog Styling
Posted: Wed Jan 29, 2020 9:21 pm
by StephanStanisic
Hi @bmherard,
Sorry for the late reply, I need to figure out how to enable email notifications
If have made more modifications to the plugin, would you be so kind to open a pull request on github? Updates like to support more themes are important to have.