hostxls Posted August 11, 2016 Share Posted August 11, 2016 Hello, I want to setup the Announcements and the Knowledge base layout into Two columns. Now it is in a single column. I have notes that you could place html in a post so I have try to use a html code in a post, but that doesn't do the trick. Can some help me to get this layout into a two Column style or at least direct me into the right directions to fix this? Thanks in advance Vincent from Hostxls 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 11, 2016 Share Posted August 11, 2016 you might want to take a look at the announcements.tpl and the 3 knowledgebase templates in your template directory - that's where you would change the layout of these files. 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted August 11, 2016 Author Share Posted August 11, 2016 Oke, thanks. But how do I do that? What code do I use to create a two column in Announcement. And where do I place it. For me it's like big forest with codes. Is it possible to use a hook for this? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 11, 2016 Share Posted August 11, 2016 Is it possible to use a hook for this? not really - the content is already there, you're just tweaking the layout.... as a basic example, in announcements.tpl, if you change... <div class="announcement-single"> to... <div class="col-sm-6"> you'll end up with a 2-column display.... well, you would if you had any announcements on your website... 0 Quote Link to comment Share on other sites More sharing options...
hostxls Posted August 11, 2016 Author Share Posted August 11, 2016 Thank you very much. You really made my day man. Supper! Thnks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.