JoomDev: (SOLVED) Changing template width in boxed layout (1/1)
Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED) Changing template width in boxed layout

Changing template width in boxed layout 5 months 2 weeks 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 5 months 1 week ago #5478

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 1953
  • Thank you received: 316
  • Karma: 53
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 5 months 1 week 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 5 months 1 week ago #5480

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 1953
  • Thank you received: 316
  • Karma: 53
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 5 months 1 week 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 5 months 1 week ago #5484

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 1953
  • Thank you received: 316
  • Karma: 53
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 5 months 1 week 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 5 months 1 week ago #5487

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 1953
  • Thank you received: 316
  • Karma: 53
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 5 months 1 week 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: 5 months 1 week ago by heretic.
The topic has been locked.
The following user(s) said Thank You: chandandeep
Time to create page: 0.358 seconds