Janic Posted November 16, 2018 Share Posted November 16, 2018 I have a question. Is it possible to have 2 modules on the same anchor on the same height in the classic theme. My client wants to have facebook on one side and the text block on the other side.is this possible in the classic theme.(pestashop 1.7.4) Link to comment Share on other sites More sharing options...
NemoPS Posted November 16, 2018 Share Posted November 16, 2018 If by anchor you mean hook, yes, of course. However, there must be enough space for two blocks, and these blocks must have 50% set as width, as well as float:left 1 Link to comment Share on other sites More sharing options...
Janic Posted November 16, 2018 Author Share Posted November 16, 2018 3 hours ago, NemoPS said: If by anchor you mean hook, yes, of course. However, there must be enough space for two blocks, and these blocks must have 50% set as width, as well as float:left that's what i mean. My modules are in the displayHome position how do i make this work? Link to comment Share on other sites More sharing options...
joseantgv Posted November 16, 2018 Share Posted November 16, 2018 3 hours ago, Janic said: that's what i mean. My modules are in the displayHome position how do i make this work? Just set one module after the other in the hook position. Then the template that each module prints should have a 50% width. It's a CSS matter. 1 Link to comment Share on other sites More sharing options...
Janic Posted November 17, 2018 Author Share Posted November 17, 2018 (edited) i will try this. Prestashop theming is not so simple. I use joomla for my other site's and that's a lot easier to adjust. Do you have an example css how i do this in the display home. there are different modules in this hook Edited November 17, 2018 by Janic (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted November 18, 2018 Share Posted November 18, 2018 23 hours ago, Janic said: i will try this. Prestashop theming is not so simple. I use joomla for my other site's and that's a lot easier to adjust. Do you have an example css how i do this in the display home. there are different modules in this hook First identify the template used in this hook by the modules that you want to edit. As they are using bootstrap grid, you have to define class "col-XX-6" (depending on the size, please check https://scotch.io/tutorials/understanding-the-bootstrap-3-grid-system) in the main div. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now