Post by spystore » Fri Apr 02, 2021 9:16 am

OCV3.0.3.7 Default Theme
Site - https://stabbyjane.com

Can anyone provide guidance on this issue:

I am able to center Footer Column Text (for three columns) however can not center the Footer Column Title Text for those three columns.

Does anyone have any ideas?

Any help is greatly appreciated.

Newbie

Posts

Joined
Sun Aug 01, 2010 11:53 am

Post by johnp » Fri Apr 02, 2021 5:39 pm

Try this quick fix. I can't guarantee it will work but give it a go:

<div class="col-sm-4 text-center">
<h5 style="text-align:center;">INFORMATION</h5>

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by spystore » Sat Apr 03, 2021 4:38 am

Thank you for the code -- FYI:
<div class="col-sm-4 text-center"> -- Did not work
<h5 style="text-align:center;">INFORMATION</h5> -- Worked perfectly (see below)

Replaced <h5>{{ text_information }}</h5> with <h5 style="text-align:center;">INFORMATION</h5>
Replaced <h5>{{ text_service }}</h5> with <h5 style="text-align:center;">SERVICE</h5>
Replaced <h5>{{ text_account }}</h5> with <h5 style="text-align:center;">ACCOUNT</h5>

Works perfectly -- Thank you so much for your help.

Newbie

Posts

Joined
Sun Aug 01, 2010 11:53 am

Post by straightlight » Sat Apr 03, 2021 5:03 am

stylesheet.css

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 johnp » Sat Apr 03, 2021 5:45 am

straightlight wrote:
Sat Apr 03, 2021 5:03 am
stylesheet.css
You're right Straightlight. CSS would be a better approach.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by by mona » Sat Apr 03, 2021 6:11 am

footer h5 {
text-align: center;
}

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by sw!tch » Sat Apr 03, 2021 6:27 am

^ +1 use refined selectors as @by mona suggested

Its bad practice to use inline css.
-

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by straightlight » Sat Apr 03, 2021 7:57 am

Here we go. Well done folks! :)

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 paulfeakins » Tue Apr 06, 2021 6:53 pm

spystore wrote:
Fri Apr 02, 2021 9:16 am
OCV3.0.3.7 Default Theme
Site - https://stabbyjane.com
Why do people always say "Default Theme"?

The second you start modifying it, it is no longer the "Default Theme".

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: Baidu [Spider], integraa and 269 guests