Post by antoh29 » Sat Sep 11, 2021 3:12 am

Hello.
OC 3.0.3.6, default theme, layout wnweb

I want to customized the footer.
The code is ok, but I want to move CONTACT item in right side, same MY ACCOUNT.

Please help me !
_____________________________________________
<footer>
<div class="container">
<div class="row">
{% if informations %}
<div class="col-sm-3">
<h5>{{ text_information }}</h5>
<ul class="list-unstyled">
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
<h5>{{ text_account }}</h5>
<ul class="list-unstyled">
<li><a href="{{ account }}">{{ text_account }}</a></li>
<li><a href="{{ order }}">{{ text_order }}</a></li>
<li><a href="{{ wishlist }}">{{ text_wishlist }}</a></li>
<li><a href="{{ newsletter }}">{{ text_newsletter }}</a></li>
</ul>
<ul class="list-unstyled">
<div class="col-sm-3">
<h5>{{ text_contact }}</h5>
<ul class="list-unstyled">
<li><a href="{{ contact }}">{{ text_contact }}</a></li>
<ul class="list-unstyled">
</div>
</div>
<hr>
<center>
<p>{{ powered }}</p>
</center>
</div>
</footer>
{% for script in scripts %}
_________________________________________

Attachments

Screenshot.png

Screenshot.png (30.13 KiB) Viewed 603 times


New member

Posts

Joined
Tue Jul 27, 2021 3:44 pm

Post by straightlight » Sat Sep 11, 2021 5:51 am

The contact controller also needs to be modified. Better to use an Event to accomplish this. If you're not sure on how to achieve this, you could always look on the Marketplace for an extension or create a new service request in the Commercial Support section of the forum to get this done as a custom job.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by antoh29 » Fri Sep 17, 2021 2:37 pm

Thank you for help.

New member

Posts

Joined
Tue Jul 27, 2021 3:44 pm

Post by straightlight » Fri Sep 17, 2021 6:39 pm

Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cyclops12 » Tue Sep 21, 2021 10:36 pm

Try this instead:

Code: Select all

<div class="container">
<div class="row">
{% if informations %}
<div class="col-sm-3">
<h5>{{ text_information }}</h5>
<ul class="list-unstyled">
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="col-sm-3">
<h5>{{ text_account }}</h5>
<ul class="list-unstyled">
<li><a href="{{ account }}">{{ text_account }}</a></li>
<li><a href="{{ order }}">{{ text_order }}</a></li>
<li><a href="{{ wishlist }}">{{ text_wishlist }}</a></li>
<li><a href="{{ newsletter }}">{{ text_newsletter }}</a></li>
</ul>
</div>
<div class="col-sm-3">
<h5>{{ text_contact }}</h5>
<ul class="list-unstyled">
<li><a href="{{ contact }}">{{ text_contact }}</a></li>
<ul class="list-unstyled">
</div>
</div>
<hr>
<center>
<p>{{ powered }}</p>
</center>
</div>

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am
Who is online

Users browsing this forum: jameswilly991 and 146 guests