Timeline for How can I add classes to the main product-page blocks in Magento 2?
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 7, 2017 at 18:48 | comment | added | Razvan Zamfir | It is my question, but it regards another issue. | |
Dec 7, 2017 at 17:40 | comment | added | Evgeny Levinsky | Thank you, I'm glad to hear it. Is question magento.stackexchange.com/questions/202318/… actually for you? If yes - I'll form my answer. | |
Dec 7, 2017 at 17:35 | vote | accept | Razvan Zamfir | ||
Dec 7, 2017 at 17:35 | comment | added | Razvan Zamfir |
I have added, above <referenceContainer name="catalog.product.related" remove="true" /> the folowing: ` <referenceContainer name="product.info.main" htmlClass="product-info-main col-xs-12 col-sm-8" /> <referenceContainer name="product.info.media" htmlClass="product media col-xs-12 col-sm-4" />`. It is ok.
|
|
Dec 7, 2017 at 17:25 | comment | added | Evgeny Levinsky | Ok, what is wrong now? | |
Dec 7, 2017 at 17:19 | comment | added | Razvan Zamfir | See it HERE. | |
Dec 7, 2017 at 17:15 | comment | added | Evgeny Levinsky | You can to send code via pastebin.com service. Why removing the sidebar doesn't help? | |
Dec 7, 2017 at 17:09 | comment | added | Razvan Zamfir | It is not ok: removing the sidebar does not help. How can I sen you my default.xml? | |
Dec 7, 2017 at 17:07 | comment | added | Evgeny Levinsky | Great, so layout is good now? Сan I help you with anything else? | |
Dec 7, 2017 at 17:03 | comment | added | Razvan Zamfir | I have moved the top bar to the left side and stacked it. So, the product categories form a vertical, left side navigation. | |
Dec 7, 2017 at 16:57 | comment | added | Razvan Zamfir |
The <nav class="navigation navbar navbar-default" data-action="navigation">//more code</div> has to disapear from <div class="column main"> <nav class="navigation navbar navbar-default" data-action="navigation"></div><div class="row"><div class="product-info"></div></div></div>
|
|
Dec 7, 2017 at 16:52 | comment | added | Evgeny Levinsky |
Try again, I removed div.sidebar.main and catalog.product.related in my layout.
|
|
Dec 7, 2017 at 16:51 | history | edited | Evgeny Levinsky | CC BY-SA 3.0 |
added 157 characters in body
|
Dec 7, 2017 at 16:43 | comment | added | Razvan Zamfir | Please, see the edit. Your code is good, but I need to hide my sidebar and it is showing the sidebar. | |
Dec 7, 2017 at 16:37 | history | answered | Evgeny Levinsky | CC BY-SA 3.0 |