fbpx

Xmas is coming - Grab 30% Discount on all Joomla Template. Coupon Code: PRECHRISTMAS Unlock Offer

Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED) Changing template width in boxed layout

Changing template width in boxed layout 11 months 4 days ago #5476

  • heretic
  • heretic's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Thank you received: 3
  • Karma: 0
Is it possible to change the template width when using the boxed layout? I would like to have it narrower than default 1240px...
The topic has been locked.

Changing template width in boxed layout 11 months 3 days ago #5478

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2292
  • Thank you received: 371
  • Karma: 60
Hi,

Yes, It's possible. Can you please confirm what version of JD Boston is your using?

Thanks,
Chandan
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.

Changing template width in boxed layout 11 months 3 days ago #5479

  • heretic
  • heretic's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Thank you received: 3
  • Karma: 0
I have the latest version (2.0) free.
The topic has been locked.

Changing template width in boxed layout 11 months 3 days ago #5480

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2292
  • Thank you received: 371
  • Karma: 60
OK,

Add the below code in .less file and change the width(980px) what you want.
.layout-boxed .body-innerwrapper{
	max-width: 980px;
	.container{
		width: 95%;
	}
}

Path: templates/TEMPLATENAME/less

Thanks,
Chandan
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.

Changing template width in boxed layout 11 months 3 days ago #5482

  • heretic
  • heretic's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Thank you received: 3
  • Karma: 0
Thanks, but in which .less file should I add that code? :)
The topic has been locked.

Changing template width in boxed layout 11 months 3 days ago #5484

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2292
  • Thank you received: 371
  • Karma: 60
custom.less file
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.

Changing template width in boxed layout 11 months 3 days ago #5486

  • heretic
  • heretic's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Thank you received: 3
  • Karma: 0
No effect.
The topic has been locked.

Changing template width in boxed layout 11 months 3 days ago #5487

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2292
  • Thank you received: 371
  • Karma: 60
Make sure less compiler is Enable from the template setting.

Thanks,
Chandan
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.
The following user(s) said Thank You: heretic

Changing template width in boxed layout 11 months 3 days ago #5488

  • heretic
  • heretic's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Thank you received: 3
  • Karma: 0
Thanks a lot - seems to be working :)
Last Edit: 11 months 3 days ago by heretic.
The topic has been locked.
The following user(s) said Thank You: chandandeep
Time to create page: 0.388 seconds