WordPress.org

Ready to get started?Download WordPress

Forums

Virtue
Amazon aStore (2 posts)

  1. shengadmin
    Member
    Posted 3 months ago #

    Hi,
    I'm trying to put Amazon aStore on a Page, but it looks very small, so I copy page.php, and rename it as store.php, added in some code(see bellow)
    But it seems no any change, can you let me know if the coding is correct.
    <div id="pageheader" class="titleclass">
    <?php/*Template Name:Store*/?>
    <div class="post store">
    .store{width:30em;} (my aStore was 70em)
    <?php get_template_part('templates/page', 'header'); ?>
    </div><!--container-->
    </div><!--titleclass-->

    <div id="content" class="container">
    <div class="row">
    <div class="main <?php echo kadence_main_class(); ?>" role="main">

    <?php get_template_part('templates/content', 'page'); ?>
    </div><!-- /.main -->

    the reason is I read and article on http://www.robinmalau.com/how-to-integrate-amazon-astore-to-wordpress-page/
    Can you let me know what is wrong with the above code.

    My website is http://thehealthyfitness.com
    Many thanks

  2. Kadence Themes
    Member
    Theme Author

    Posted 3 months ago #

    Your page here: http://thehealthyfitness.com/instant-video/

    Shows that you have it working? So if you want my advice loose the store page template, just add your iframe code to a "fullwidth" or "sidebar" page template and if you want to adjust the css you can do that in the theme options. Looking at the tutorial you posts I see nothing that makes creating a new page template worth while.

    Kadence Themes

Reply

You must log in to post.

About this Theme

About this Topic