antalya gergi tavan antalya duvar kağıdı

Navbar code

Home Support Free Theme: Access Shop Navbar code

This topic contains 4 replies, has 2 voices, and was last updated by AccessShopThemes Support AccessShopThemes Support 1 year, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4530

    gs21
    Participant

    Hello Support,

    I almost finished my website! But.. I first dindn’t want a top-navbar, so I deleted the code. (Stupid i should’ve backupped). But now I want it back.

    I already tried to do a new install in a subdirectory and compare the files, but I couldn’t find the right code.
    It looks like this now:

    http://oi63.tinypic.com/2lvmqlc.jpg

    Could you please tell me what code is used?

    #4533

    gs21
    Participant
    #4537

    Hi There,

    I guess you had removed from header.phtml
    compare and add with below code:

    <?php
    /**
     * @category    design
     * @package     accessshop_default
     * @copyright   Copyright (c) 2015 Access Keys (http://www.access-keys.com)
     * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
     *
     * Magento SuperXpress
     * @var Mage_Page_Block_Html_Header $this
     */
    ?>
    <div class="header-top">
        <div class="container">
            <div class="row">
                <div class="col-sm-5">
                    <div class="left-header-top">
                        <?php echo $this->getChildHtml('block_header_links_top_left'); ?>
                        <?php echo $this->getChildHtml('store_language') ?>
                        <?php echo $this->getChildHtml('topContainer'); ?>
                    </div>
                </div>
                <div class="col-sm-7 pull-right">
                    <div class="right-header-top">
                        <div class="row">
                            
                            <div class="col-sm-12 text-right">
                                <?php echo $this->getChildHtml('block_header_links_right');?>
                                <?php echo $this->getChildHtml('topLinks');?>
                                <div class="top-cart"><?php echo $this->getChildHtml('top_cart'); ?></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="container">
    
        <div class="row">
            <div class="col-sm-4">
                <div class="logo">
                    <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>">
                        <img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />
                    </a>
                </div>
            </div>
            <div class="col-sm-8 pull-right">
                <div class="row">
                    <div class="col-sm-12">
                        <span class="welcome">
                            <?php echo $this->getLayout()->getBlock('header')->getWelcome(); ?>    
                            </span>
    
                    </div>
                    <div class="col-sm-12 top-search">
                        <?php echo $this->getChildHtml('topSearch') ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Navigation -->
    <nav class="navbar navbar-default" role="navigation">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                <div class="navbar-header">
                  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-main-collapse">
                     <span class="sr-only">Toggle navigation</span>
                     <span class="icon-bar"></span>
                     <span class="icon-bar"></span>
                     <span class="icon-bar"></span>
                  </button>
                  <a class="navbar-brand" href="javascript:void(0);">Menu</a>
               </div>
                <div class="collapse navbar-collapse no-transition" id="navbar-main-collapse">
                    <?php echo $this->getChildHtml('topMenu') ?>
                </div>
                </div>
            </div>
        </div>
    </nav>

    Thanks!

    #4540

    gs21
    Participant

    Thankyou for your comment, but this didn’t fix it? Is it possible that I removed it from the base?
    And how do I get the slider on everypage?

    #4551

    Removing it from base do not effect if you have that in theme folder.
    The file location should match just the theme name differs with base folder for location.

    It is added from local.xml file in theme mode that code in
    <cms_index_index>
    tag

    to <default>
    tag

    Code:

    <reference name="root">
            <!-- define the block slider -->
            <block type="cms/block" name="slider" as="slider" translate="label" before="content">
                <action method="setBlockId"><block_id>home-carousel</block_id></action>
            </block>
        </reference>

    Thanks!

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

You must be logged in to reply to this topic.

anal porno watch porn anal