Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • anish28 Friend
    #900725

    i would like to know how to move the main menu in JaHotel template and change the layout

    pavit Moderator
    #900726

    Hi 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 Friend
    #900756
    This reply has been marked as private.
    pavit Moderator
    #900765

    You want slideshow positioned above main menu ?

    anish28 Friend
    #901397
    This reply has been marked as private.
    anish28 Friend
    #901410
    This reply has been marked as private.
    pavit Moderator
    #901517

    Hi 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


    1. Screenshot_19-2
    anish28 Friend
    #901642
    This reply has been marked as private.
    pavit Moderator
    #901753

    as 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 Friend
    #901853
    This reply has been marked as private.
    pavit Moderator
    #901888

    Hi

    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

    anish28 Friend
    #902182
    This reply has been marked as private.
    pavit Moderator
    #902242
    This reply has been marked as private.
    anish28 Friend
    #904673
    This reply has been marked as private.
    pavit Moderator
    #904688
    This reply has been marked as private.
Viewing 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