Replace contact info for a widget like shopping cart?

Discussion in 'ColorWay WordPress Theme' started by chndr, Aug 3, 2013.

  1. chndr

    chndr Member

    Joined:
    Feb 27, 2012
    Messages:
    47
    Likes Received:
    1
    Hi,

    I still have a old version of the Colorway because I dont like the full responsive details.

    Now I read there is the opportunity to place contact information in the right top of the header. Very nice!

    I have 2 questions:

    1- Is it possible to download this version without the full responsive function?
    2- Can we replace the contact information for a witget like a Shoppingcart? ( i use colorway for a webshop)

    THANKS
     
    robertburney likes this.
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    1. I think you are using Colorway Static Theme,
    So it is not possible to download the latest Theme without the full responsive function
    because the responsive colorway theme is the upgrade version of colorway static theme and the latest updated version are only present in the members area.
    If you update your static theme then it will fully change to theme responsive theme.

    But there is a way to do that,
    Go to the header.php file present in the theme directory and paste the code given below
    Code:
    <div class="grid_14 alpha">
        <div class="logo"> <a href="<?php bloginfo( 'url' ); ?>"><img src="<?php if ( get_option('colorway_logo') !='' ) {?><?php echo get_option('colorway_logo'); ?><?php } else {?><?php bloginfo('template_url'); ?>/images/logo.png<?php }?>" alt="<?php bloginfo('name'); ?>" /></a> </div>
        </div>
        <div class="grid_10 omega">
            <div class="contact_info">
            <p>
            Enter your contact details here.
            </p>
               
            </div>
               
        </div>
        <div class="clear"></div>
    Inplace of

    Code:
    <div class="logo"> <a href="<?php bloginfo( 'url' ); ?>">
                <img src="<?php if ( get_option('colorway_logo') !='' )
                    {?><?php echo get_option('colorway_logo'); ?><?php }
                    else {?><?php bloginfo('template_url'); ?>/images/logo.png<?php }?>" alt="<?php bloginfo('name'); ?>"
                    /></a> </div>

    See the image for reference .

    [​IMG]

    and now,
    Paste the code given below in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .contact_info p {
    font-size: 13px;
    color: red;
    padding-top: 10px;
    padding-right: 20px;
    }
    you can adjust these value as per your requirement.
    This will solve your first issue.

    2. For your Second issue,
    Unfortunately there isn't a way to do that with our theme unless you custom code something up. Sorry.
     
  3. chndr

    chndr Member

    Joined:
    Feb 27, 2012
    Messages:
    47
    Likes Received:
    1
    Thanks Piyush, it is bad for me that it is not possible to place a widget like shoppingcart in the header. I really like the colorway theme. Maybe I go look for a developer for this. I want the shoppingcart in the header so I can make my whole shop fullwidth..

    thnx!
     
  4. kythera

    kythera New Member

    Joined:
    Feb 2, 2012
    Messages:
    1
    Likes Received:
    0
    ...t is not possible to place a widget like shoppingcart in the header. Did you find something?
     
  5. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !

    Use secondary widget area on header section.

    Code:
     <?php
            if (is_active_sidebar('secondary-widget-area')) :
                dynamic_sidebar('secondary-widget-area');
            endif;
       
            ?>
    
    coloway-header-widget-2-feb-15.png

    Thanks & Regards
    Pramod Patel
     

Share This Page