A
A
Aidar Ivanov2019-02-08 11:27:43
PHP
Aidar Ivanov, 2019-02-08 11:27:43

Why do styles apply in one category and not in another?

There are two categories, the styles are the same but for some reason they are different, what is the problem where to correct? Yes, I know that I need to study Php, but so far I haven’t reached the current at the beginning of the journey, but the solution is already needed now
5c5d3e07c4f9b080370488.jpeg5c5d3cf991bfe992174431.png5c5d3d01ce337936861220.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2019-02-08
@aidar_sh

if(count($categories) <= 5) {
  // идет одна версия разметки
} else {
  // другая
}

Remove the condition and choose which version you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question