Post by p1truman » Thu Jun 15, 2023 9:25 am

Hi!

I have an issue with the content width on certain pages. Im using Opencart Version 2.0.1.1.
When i create a new 'category' page, the text or content on that page doesn't span the full width of the page, no matter what layout override i select.
This also seems to apply to sub categories

I don't seem to see this problem when creating an 'Information' page

Here are a link displaying what I'm talking about. I ideally want the text to span the width of the page

https://www.real-timesolutions.co.uk/in ... path=98_99

I have attempted to install a fluid container extension but it seemed to make very little difference.
An indication of what i need to adjust would be good.
Any help with this would be kindly appreciated.

Thanks

Paul

Newbie

Posts

Joined
Thu Aug 30, 2018 10:24 pm

Post by paulfeakins » Thu Jun 15, 2023 7:06 pm

p1truman wrote:
Thu Jun 15, 2023 9:25 am
An indication of what i need to adjust would be good.
Are you familiar with Bootstrap? It's based on there being a width of 12 columns.

You have this class wrapping all your text:

Code: Select all

class="col-md-8 col-xs-12 category-info__description"
If you made that 8 into a 12 it would fix the issue.

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


User avatar
Legendary Member
Online

Posts

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

Post by p1truman » Fri Jun 16, 2023 3:53 am

Thanks for your assistance Paul.

I'm currently in the process of getting my head around bootstrap :)

What file am i looking for to adjust this class?

Thanks again!

Paul

Newbie

Posts

Joined
Thu Aug 30, 2018 10:24 pm

Post by paulfeakins » Fri Jun 16, 2023 7:59 pm

p1truman wrote:
Fri Jun 16, 2023 3:53 am
What file am i looking for to adjust this class?
Ah, if you're not sure about that you should be very careful and possibly consider paying a developer as really you should create a new theme and make your changes in the copy, or use vQmod or OCMOD.

It will be in the theme folder however as I sense from your reply that you might not be confident making a new theme or using vQmod.

Here's a guide anyway: https://www.antropy.co.uk/blog/how-to-c ... t-3-theme/

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


User avatar
Legendary Member
Online

Posts

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

Post by SohBH » Thu Jun 22, 2023 5:50 pm

catalog/view/theme/ioc7/template/product/category.tpl

View all extensions | Request custom work | Pricing | Contact Me


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 63 guests