Forum Replies Created
-
AuthorPosts
-
Thank you for your help.
- This reply was modified 4 years, 6 months ago by OneClickTech.
Hi Andy,
See pic of the issue.
ThanksThat code fixes Chrome but messes up Firefox now. So any other suggestions.
I was bring the bug to your attention so the code could be fixed in the theme update.
Thank you Elliot.
Most appreciated. Kries support is amazing. :-)
It doesn’t work. I had to remove the word “after” and it then does the same thing as my code and reduces the width of the text to 40 pixels.
That code doesn’t work unfortunately. If i remove after it does display but the same issue happens with my code.
My above code is close to what i want but just don’t what the heading txt to be 40px wide.Thank you once again Yigit. But that plugin doesn’t work.
The plugin author asked this question.This also not working because I can’t get instance of “AviaBuilder” class. We can get instance if you create a global variable for this. I can’t get “$builder”.
Is there any way to get the “AviaBuilder” class instance in any other plugin or theme ?
Or could you please create a global variable of “AviaBuilder” class object ( $builder ) ?- This reply was modified 9 years, 4 months ago by OneClickTech.
Hi.
I am using a child theme but it doesn’t work so I have to put it in the parent theme. The link above explains that.
Also the initial post was written by the plugin author asking for your assistance.June 25, 2015 at 12:23 am in reply to: Change the size of Single product page main image responsive #464368Thank you Yigit.
I didn’t think of removing that original code when using the media rule. To be honest i thought it would have messed up the image/layout when full size, but it doesn’t.
Thanks again.June 25, 2015 at 12:03 am in reply to: Change the size of Single product page main image responsive #464361Sorry Yigit. Not sure why the link didn’t show as I did add it.
Added now.
Thank you.@Yigit. Thank you .That worked.
@dbktti . You appear to be having the same issue with the menu as i was. The above code worked for me.
https://www.dropbox.com/s/a7ucz5t8jfxxvpx/Screenshot_2015-06-17-07-30-47.png?dl=0June 14, 2015 at 3:30 am in reply to: Hide responsive woocomerce shopping cart when not in use #458878Thank you.
Thank you Yigit. Most appreciated.
Thank you for your quick reply. That removes the stuff in the side bar but doesn’t go full width.
Thank you Andy.
That worked. Most appreciated.Hi Ismael.
I had already tried that.
As you can see the bottom border is missing and the mouse overlay is not centered when i have this code in. I have removed it now so you can see the problam easier. Thank you.single-product-main-image { height: 300px; }
- This reply was modified 9 years, 6 months ago by OneClickTech.
Thank you Ismael.
Most appreciated.Hi Andy.
Thank you for getting back to me.
It was actually to center everything inside that red box. As you can see its slightly of set and when responsive its noticeably not centered.Hope that makes sense.
I think you must have missed my question.
I am trying to change the image to a landscape of about 600x350px.
I said i increased the width,but i need to adjust the height to about 350px height.
Thx- This reply was modified 9 years, 6 months ago by OneClickTech.
Thank you Ismael. That worked.
I then add the below code for the Recipient Name which worked with a few more edits.#top .woo-vou-recipient-fields td.label,#top .woo-vou-recipient-fields td:nth-child(2) {
width: 92%;
display: block;
margin-left: 10px;
border:hidden;
}
Could i ask for one more edit. How do i center the add to cart button.
https://www.dropbox.com/s/told4xomn84ygpu/333.PNG?dl=0Thank you so much.
Fixed….
Code has to go at the bottom of the functions page. Not top as i was trying.//Create global variable for builder
global $builder_object;//Assign builder object to global variable
$builder_object = $builder;//Add action for remove builder functionality from voucher templates
add_action( ‘admin_init’, ‘avia_remove_builder_functionality’ );function avia_remove_builder_functionality() {
global $typenow, $pagenow, $builder_object;
$remove_enfold_builder_cpt = apply_filters( ‘avia_remove_enfold_builder_cpt’, array( ‘woovouchers’, ‘eddvouchers’ ) );
if( empty( $typenow ) ) {//If typenow is empty
if ( !empty( $_GET[‘post’] ) ) {// try to pick it up from the query string
$post = get_post( $_GET[‘post’] );
$typenow = $post->post_type;
} elseif( !empty( $_POST[‘post_ID’] ) ) {// try to pick it up from the quick edit AJAX post$post = get_post( $_POST[‘post_ID’] );
$typenow = $post->post_type;
}
}if( ( $pagenow == ‘post-new.php’ || $pagenow == ‘post.php’ ) && in_array( $typenow, $remove_enfold_builder_cpt ) ) {
remove_action(‘load-post.php’, array( $builder_object, ‘admin_init’) , 5 );
remove_action(‘load-post-new.php’, array( $builder_object, ‘admin_init’) , 5 );
}
}- This reply was modified 9 years, 6 months ago by OneClickTech.
-
AuthorPosts