K
K
kamisarlapsha2018-09-26 16:17:46
opencart
kamisarlapsha, 2018-09-26 16:17:46

How to count banners in OpenCart 2.3?

Hey! There are three banners on the page, I'll throw off the photo below. The first banner, the largest, needs to be made a little different. And now I’m thinking how to make it so that, let’s say I write a condition, let’s say this and write markup specifically for it, and then else and markup for the rest. But do not by id, because banners in different places will be different and the id will be different. And if it's not difficult, you can tell me how to adapt the banner for Retina screens, because all the text is a picture. Thanks in advance.<?php if ($banner == 1) { ?>
5bab8780ba383317042088.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question