-
AuthorPosts
-
anish28 Friend
anish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
March 16, 2016 at 6:14 pm #900725i would like to know how to move the main menu in JaHotel template and change the layout
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 16, 2016 at 6:22 pm #900726Hi there
Could you provide more detailed info ?
Where you want to move your menu ?
How the layout should be changed ? maybe a screenshot could help
also provide an url to your website
anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
March 16, 2016 at 7:28 pm #900756This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 16, 2016 at 8:25 pm #900765You want slideshow positioned above main menu ?
anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
March 17, 2016 at 5:07 pm #901397This reply has been marked as private.anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
March 17, 2016 at 5:19 pm #901410This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 17, 2016 at 9:52 pm #901517Hi there
Try in this way
Open this file /templates/ja_hotel/tpls/home.php and change
FROM:
<?php $this->loadBlock('topbar') ?> <?php $this->loadBlock('header') ?> <?php $this->loadBlock('slideshow') ?> <?php $this->loadBlock('section-1') ?> <?php $this->loadBlock('section-2') ?> <?php $this->loadBlock('navhelper') ?> <?php $this->loadBlock('footer') ?>
TO:
<?php $this->loadBlock('topbar') ?> <?php $this->loadBlock('slideshow') ?> <?php $this->loadBlock('header') ?> <?php $this->loadBlock('section-1') ?> <?php $this->loadBlock('section-2') ?> <?php $this->loadBlock('navhelper') ?> <?php $this->loadBlock('footer') ?>
Add a new file in this folder /templates/ja_hotel/css/ and call it custom.css and add this
.t3-section-2, .t3-section-1 { margin-top:82px; }
and the column on the left as well.
Home layout is not using any content block , if you want to add a left column you should add a mainbody block to allow sidebars 1 and 2 also on main page , if you want it then simply add it to the home.php file mentioned above
So it will be like this
<?php $this->loadBlock('topbar') ?> <?php $this->loadBlock('slideshow') ?> <?php $this->loadBlock('header') ?> <?php $this->loadBlock('section-1') ?> <?php $this->loadBlock('section-2') ?> <?php $this->loadBlock('mainbody') ?> <?php $this->loadBlock('navhelper') ?> <?php $this->loadBlock('footer') ?>
Hope it helps
anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
March 18, 2016 at 6:53 am #901642This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 18, 2016 at 10:38 am #901753as i want to display my section 2 items next to the sidebar 1 .
Hi
Couldyou post a screenshot of your desired layout for your home ? so i can better understand how do you want it , the link you sent to the other site is not exaplaining well how you want it
anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
March 18, 2016 at 4:35 pm #901853This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 18, 2016 at 5:38 pm #901888Hi
I’m afraid but what you are asking means to customize hardly the whole template layout structure, since actually it is not included in the available default options,to obtain what you are asking for it is not enough add or change block positions like i showed above for the switch of mainmenu and slideshow position,but it would require to create new blocks positions.
You can create it from scratch following documentation HERE
Best regards
1 user says Thank You to pavit for this useful post
anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
March 19, 2016 at 5:31 pm #902182This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 19, 2016 at 7:20 pm #902242This reply has been marked as private.anish28 Friendanish28
- Join date:
- August 2015
- Posts:
- 144
- Downloads:
- 137
- Uploads:
- 20
- Thanks:
- 6
- Thanked:
- 3 times in 3 posts
March 25, 2016 at 3:15 pm #904673This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 25, 2016 at 4:16 pm #904688This reply has been marked as private.AuthorPostsViewing 15 posts - 1 through 15 (of 15 total)This topic contains 14 replies, has 2 voices, and was last updated by pavit 8 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
info
Viewing 15 posts - 1 through 15 (of 15 total)