Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • yasarts Friend
    #191168

    Hi,
    I would like move the breadcrumbs at the top on the page (at the top on content).
    When I tried to move it in index.php, I do :

    <?php if( !$this->countModules('slideshow') ) {?>
    <div id="container" class="wrap">
    <div class="main container-main clearfix">
    <div id="mainbody" class="clearfix">
    <!-- breadcrumbs -->
    <?php if( $this->countModules('breadcrumbs') && !$this->countModules('slideshow') && !jaTpl_check ('islayoutview') ) {?>
    <div id="breadcrumbs" class="wrap">
    <div class="main clearfix">
    <jdoc:include type="modules" name="breadcrumbs" />
    </div>
    </div>
    <?php } ?>
    <!-- MAIN CONTENT -->
    <div id="content">
    ...

    So, It break the title of page (cf. image). I do not find the solution (I’m sure that’s easy, but there’s something logical I don’t find).


    1. breadcrumbs_problem
    Saguaros Moderator
    #508168

    Hi yasarts,

    Could you send me screenshot of exact position you want to move the breadcrumbs to?

    yasarts Friend
    #508255

    Hi,
    I would like the breacrumbs before the content (under the black part). I tried to make a clear sreenshot :


    1. web_2
    Saguaros Moderator
    #508349

    Hi,

    You can try to change the code to:


    <?php if( $this->countModules('breadcrumbs') && !$this->countModules('slideshow') && !jaTpl_check ('islayoutview') ) {?>
    <div id="breadcrumbs" class="wrap">
    <div class="main clearfix">
    <jdoc:include type="modules" name="breadcrumbs" />
    </div>
    </div>
    <?php } ?>
    <!-- // SLIDESHOW -->
    <?php if( $this->countModules('slideshow') ) {?>
    <div id="slideshow" class="wrap">
    <div class="main clearfix">
    <jdoc:include type="modules" name="slideshow" />
    </div>
    </div>
    <?php } ?>
    <!-- // SLIDESHOW -->

    and open file: /templates/ja_lens/css/template.css > add this css rule:


    .content-inner div > h1 {
    margin: -142px auto 85px -20px !important;
    }

    You can change to your desired value

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 11 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum