system53 Posted March 8, 2019 Share Posted March 8, 2019 Hello, As shown in the picture below, there are three support sections. How do I add a different picture to each one? Looks like there's the same visual icon in every department. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 8, 2019 Share Posted March 8, 2019 1 hour ago, system53 said: How do I add a different picture to each one? is this a custom theme? if so, have you tried contact its developers ?? 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted March 8, 2019 Share Posted March 8, 2019 Would agree with @brian! about contacting the template dev / designer. For anyone else looking for similar solution, one template option would be to have images for each department and use something like: <img src="{$template}/images/department-icon-{$departmentName}.png" .... /> within the department loop. (you could probably do it with a hook and javascript replacements for a none template change) 1 Quote Link to comment Share on other sites More sharing options...
system53 Posted March 8, 2019 Author Share Posted March 8, 2019 41 minutes ago, steven99 said: @Brian ile hemfikir oluruz! dev / designer şablonuyla temasa geçme hakkında. Benzer bir çözüm arayanlar için, bir şablon seçeneği her departman için görsellere sahip olmak ve şöyle bir şey kullanmak olacaktır: Bölüm döngüsü içinde. (muhtemelen hiçbir şablon değişikliği için bir kanca ve javascript değişimleriyle yapabilirsiniz) That was successful. I thank you. I made a small fix and it worked. <img class="u-mb-small" alt="Department icon" src="{$WEB_ROOT}/templates/{$template}/assets/img/departman-{$department.name}.svg"> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.