Title: keithvaugh's Replies | WordPress.org

---

# keithvaugh

  [  ](https://wordpress.org/support/users/keithvaugh/)

 *   [Profile](https://wordpress.org/support/users/keithvaugh/)
 *   [Topics Started](https://wordpress.org/support/users/keithvaugh/topics/)
 *   [Replies Created](https://wordpress.org/support/users/keithvaugh/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/keithvaugh/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/keithvaugh/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/keithvaugh/engagements/)
 *   [Favorites](https://wordpress.org/support/users/keithvaugh/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/keithvaugh/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/keithvaugh/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Full CSS not loading with Inline and Defer CSS?](https://wordpress.org/support/topic/full-css-not-loading-with-inline-and-defer-css/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/full-css-not-loading-with-inline-and-defer-css/#post-9015360)
 * That would be great Frank
 * [https://www.magva.com](https://www.magva.com)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Full CSS not loading with Inline and Defer CSS?](https://wordpress.org/support/topic/full-css-not-loading-with-inline-and-defer-css/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/full-css-not-loading-with-inline-and-defer-css/#post-9015211)
 * Thanks Frank
 * Had a look and think it is loading alright. For what ever reason the crtical 
   CSS seems to break the theme. Can’t seem to isolate the issue at all.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Adding an image right of the product summary text](https://wordpress.org/support/topic/adding-an-image-right-of-the-product-summary-text/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-an-image-right-of-the-product-summary-text/#post-6644988)
 * Thanks lorro, you are a champ. Got it working by changing to max-width in the
   [@media](https://wordpress.org/support/users/media/).
 * I appreciate your help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Adding an image right of the product summary text](https://wordpress.org/support/topic/adding-an-image-right-of-the-product-summary-text/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-an-image-right-of-the-product-summary-text/#post-6644983)
 * Hi lorro
    The site is only on a local host while I finalise the design. I’ve 
   made a little more progress with it but need to target some CSS at smaller screen
   sizes. What I have done is add a div to the php and then targeted this with some
   css to render what I want on a desktop. I need to change the target CSS for smaller
   sized screens. Here’s what I have:
 *     ```
       add_action('woocommerce_single_product_summary', 'badge', 25);
       			function badge() {
         			echo '<div class="badge"><img src="http://localhost:8888/livesite/wp-content/uploads/2015/08/BADGE.png" style="width:220px;height:220px;"></div>';
       			} ?>
       ```
   
 * and in the css:
 *     ```
       .badge {
         float: right;
         margin-top: -220px;
       }
   
       @media (max-device-width: 960px) {
         #site .badge {
         float: none;
         margin-top: 0px;
       }
       }
       ```
   
 * However the css is having no affect on the smaller screen size and I cannot see
   the error in the code.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Adding an image right of the product summary text](https://wordpress.org/support/topic/adding-an-image-right-of-the-product-summary-text/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-an-image-right-of-the-product-summary-text/#post-6644970)
 * [@lorro](https://wordpress.org/support/users/lorro/)
    Thanks for the direction
   above. I managed to get of the way towards my requirements. What I have added
   is:
 *     ```
       add_action('woocommerce_single_product_summary', 'badge', 25);
       			function magva_badge() {
         			echo '<img src="http://localhost:8888/livesite/wp-content/uploads/2015/08/BADGE.png" style="width:220px;height:220px;">';
       			}
       ```
   
 * The problem that remains is that this places the image of the badge either above
   or below the woocommerce_single_product_summary block (below as I have the priority
   set to 25). What I want to achieve is to have the badge placed to the right of
   the block. At present in the CSS (see below) I have set the width of this block
   to 68%, and ideally I’d like to have the image appear in the remaining 32%
 *     ```
       .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
           float: left;
           width: 68%;
       }
       ```
   
 * I tried adding a float right to the image and adding a negative value to the 
   margin-top, and while this works, if the width of the page is reduced (i.e. for
   mobile devices) it shifts the image behind the summary block.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Adding an image right of the product summary text](https://wordpress.org/support/topic/adding-an-image-right-of-the-product-summary-text/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-an-image-right-of-the-product-summary-text/#post-6644854)
 * Thanks for that lorro. I’ll give it a go a little later today and see what happens.
   I am suspecting it might appear under the summary section, where I want it positioned
   beside the summary. Nonetheless it is the start of what I need and maybe some
   CSS can be applied to it to position it where I want.
    Will certainly be giving
   it a go.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Live site and Development Site – Merging data](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/#post-6487315)
 * Will have a scan. Thanks for the help Mike.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Live site and Development Site – Merging data](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/#post-6487311)
 * Thanks for that. I’m beginning to grasp the issue. Would it not matter though
   that the products I am concerned with are on the original live site, and the 
   new products are only on the dev site along side the original products which 
   came from the backup?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Live site and Development Site – Merging data](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/#post-6487306)
 * Ok I think I may be getting it. Each item has a unique ID and each order is associated
   with these unique ID’s. So in theory if the item ID is the same on both the development
   site and the live site it might be a matter of just replacing the table containing
   the orders. Would this be correct (assuming I am brave enough to try it). To 
   be honest there is only one item I am concerned about and all orders are linked
   to this which might make it a relatively straight forward task.
 * I wouldn’t be afraid to give it a try – I have a second clone of the site on 
   my local machine also that I can do some testing on without worry. Is there a
   particular table I should be on the look for that contains the orders (assuming
   I get courage to try).
    Thanks for the help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Live site and Development Site – Merging data](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/#post-6487295)
 * Sorry Mike. Complete nob at this. Don’t really get what you mean. I’m not talking
   about large numbers of order, possibly 20-30 at max.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Live site and Development Site – Merging data](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/live-site-and-development-site-merging-data/#post-6487285)
 * Thanks for responding Mike.
    I am not sure if I will have conflicts. The original
   site was used as the starting point for the development, i.e. it was essentially
   cloned on a localhost. I’d think this should ensure all post ID’s etc would be
   the same. Granted some products where deleted on the development site and new
   ones added. There has been a handful of orders placed on the live site and I’d
   imagine the details for these have to reside in the SQL database. Is it not plausible
   to take the actual table storing these on the live site and merge it with, or
   even replace the version that would be on the development site?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Spacing between columns on product/category pages](https://wordpress.org/support/topic/spacing-between-columns-on-productcategory-pages/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/spacing-between-columns-on-productcategory-pages/#post-6431257)
 * Thank you will have ago and let you know if I solve it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Spacing between columns on product/category pages](https://wordpress.org/support/topic/spacing-between-columns-on-productcategory-pages/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/spacing-between-columns-on-productcategory-pages/#post-6431247)
 * Hi Lorro. Its not live at the moment – Just have it in a local environment. I
   have however advanced the code a little:
 *     ```
       .woocommerce.product-columns-3 ul.products li.product, .woocommerce-page.product-columns-3 ul.products li.product {
           width: 32.32%;
       }
       .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
           float: left;
           margin: 1px 10px 0.1em 0;
           padding: 0;
           position: relative;
       }
       ```
   
 * but I can’t get the right item to alight to the right had side. You can view 
   an image at this [Link](http://screencast.com/t/AxbCBcpDWpUO). I want the third
   column to align to the blue dotted line on the right, just like the first column
   is aligned to the blue doted line on the left.
    Thanks for you input
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] 'Add to Cart' – Customising action](https://wordpress.org/support/topic/add-to-cart-customising-action/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/add-to-cart-customising-action/#post-6225204)
 * Thank you Lorro for the link. I had seen the plugin and considered it, however
   I am trying to minimise the number of plugins.
 * I am sure it is a relatively easy fix what I need, but my lack of programming
   skills is my hinderance. I can add to the functions.php file with ease and I 
   am thinking this is what I will need to do.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Images not showing when polylang activated](https://wordpress.org/support/topic/images-not-showing-when-polylang-activated/)
 *  Thread Starter [keithvaugh](https://wordpress.org/support/users/keithvaugh/)
 * (@keithvaugh)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/images-not-showing-when-polylang-activated/#post-5359393)
 * Did a little more searching on this, and while the above makes sense, what seems
   to be happening is that went polylang changes the path for ie. domain.com/en/
   wp-cont… it breaks the configuration.

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/keithvaugh/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/keithvaugh/replies/page/2/?output_format=md)