antalya gergi tavan antalya duvar kağıdı

Related Products showing at top of page in Mobile View?

Home Support Free Theme: Access Shop Related Products showing at top of page in Mobile View?

This topic contains 5 replies, has 4 voices, and was last updated by  ddj 1 year, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4273

    xxjsonxx91
    Participant

    Hi, I thought I saw this question somewhere else on the forum, but can’t locate it now.

    Having problem with the product page mobile view, since a customer clicking on an item, they should see item picture, and description, etc first – instead right now the layout shows the right sidebar at top of page. How can I change this?

    Thanks!

    #4274

    Hi There,

    Make the change on the column layout files.
    Check inside theme folder template files:
    page/2columns-right.php file and interchange the aside div.

    Thanks!

    #4275

    xxjsonxx91
    Participant

    Great! It works now, thank you.

    #4284

    maszek007
    Participant

    Hi there,

    I have experienced the same problem. Could you please advise what should i change in the phtml file?

    Thank you!

    #4285

    Hi There,

    Find this code:

    <aside class="col-right sidebar">
                        <?php echo $this->getChildHtml('right'); ?>
                    </aside>
                    <div class="col-main">
                        <?php echo $this->getChildHtml('global_messages'); ?>
                        <?php echo $this->getChildHtml('content'); ?>
                    </div>

    and interchange their position:

    <div class="col-main">
                        <?php echo $this->getChildHtml('global_messages'); ?>
                        <?php echo $this->getChildHtml('content'); ?>
                    </div>
    <aside class="col-right sidebar">
                        <?php echo $this->getChildHtml('right'); ?>
                    </aside>
                    

    Thanks!

    #4297

    ddj
    Participant

    I think this might even work a bit better. Move the </div> below </aside>. Otherwise in desktop-view, at least in my configuration, the right sidebar will be blank next to the product and will start below the product discription.

    <div class=”col-main”>
    <?php echo $this->getChildHtml(‘global_messages’); ?>
    <?php echo $this->getChildHtml(‘content’); ?>
    <aside class=”col-right sidebar”>
    <?php echo $this->getChildHtml(‘right’); ?>
    </aside>
    </div>

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

You must be logged in to reply to this topic.

anal porno watch porn anal