fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED) Change width in "boxed layout" option

Change width in "boxed layout" option 1 year 9 months ago #21574

  • dikontog
  • dikontog's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
Hello, I currently use the template with the boxed layout option, but I want to decrease its max width to 900px. Is there a way to do that? :dry:
Thank you in advance :)
The topic has been locked.

Change width in "boxed layout" option 1 year 9 months ago #21578

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4490
  • Thank you received: 647
  • Karma: 116
Hi,

It's not possible from the backend. It is something that you can do via CSS however.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.

Change width in "boxed layout" option 1 year 9 months ago #21607

  • dikontog
  • dikontog's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
Hi,
can you please provide the code I should add to a custom .less file?
Thanks.
The topic has been locked.

Change width in "boxed layout" option 1 year 9 months ago #21640

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 4614
  • Thank you received: 652
  • Karma: 116
Hello,

I have shared the CSS code. Please add it in your template.

Two way to save code.

First, crate a custom.css file in css folder.
Second, open template settings and Go to Custom Code option and save the code in Custom CSS area.

Path: templates/jd_magazine/css

.layout-boxed .body-innerwrapper { max-width: 900px; }

Thanks,
Chandan
Attachments:
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.
The following user(s) said Thank You: dikontog

Change width in "boxed layout" option 1 year 9 months ago #21656

  • dikontog
  • dikontog's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
Thank you, it worked! :woohoo:
The topic has been locked.

Change width in "boxed layout" option 1 year 9 months ago #21668

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 4614
  • Thank you received: 652
  • Karma: 116
Nice,

Problem Solved.
Let me know if you have any other question.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.
Moderators: chandandeep
Time to create page: 0.418 seconds
Cron Job Starts