I want to add classes to two elements on the page specifically if two or one other element is on the page, so in the phtml I will have to check if those elements are included in the layout.

How can this be done?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.