Tagged: x
-
AuthorPosts
-
April 11, 2016 at 3:35 am #876103
ottobonoParticipantHey Rue, many thanks for your extensive answer! I will implement your solutions today in the afternoon and I will let you know! π some clarifications:
1) Tried with last version of IE included with Windows 10
2-6) I’ll see them laterI still have the image problem in “Le miscele”, that I mentioned before. Can you please help me solving this or pointing me in the right direction? thank you again! π
April 11, 2016 at 9:00 am #876465
ChristopherModeratorHi there,
#1 Please provide us with URL of page in question.
In regards with ‘Le miscele’ issue, please remove image element and add image as column background. Please add
background-image:url("url of image");in column’s style field.Hope it helps.
April 12, 2016 at 2:37 am #877802
ottobonoParticipantHi, thank you for your answers! All the code you provided worked flawlessly! Now the questions:
1) I created a copy of the page “Contatti” called “Contatti-2″, where you can see them in the middle that they do not work as intended. I even want the text to be responsive in the card (both front and rear) and not too small (normally it is really small and I do not want to change my standard font that has a value of 15), so I tried to put the content in the title and in the text I wrote ” ” so that no other text appears. I use internet explorer 11, I attached a pic to this post. If it does not work with ie 11, maybe I should not use them, I do not know π
2) I do not want ALL sidebars on the top, only the filter sidebar and the search sidebar. I tried to change the class in the js code to .woocommerce_product_search-3 (to test only to move the search widget) and it did not work. What do I have to do to move only filter and search widgets in THAT page?Thank you!
April 12, 2016 at 2:41 am #877808
ottobonoParticipantHi, the image appears to be cropped. I attach a pic.
April 12, 2016 at 9:26 am #878370
ChristopherModeratorHi there,
#1 I’m not able to replicate this, card element is displaying fine. Please see the attachment.
Internet Explorer 9/10/11 do not support native CSS3 3D transforms, which is what we are using to animate the card element. These native CSS3 animations are much smoother than trying to do anything programmatically with JavaScript for example, which is why we have opted to use them. In IE 9, 10, and 11 the card will fallback to simply switching out the two sides as you hover (so essentially you wonβt see the animation).Please reduce the padding for second card element as its content is displaying out of the box.
#2 Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
#3 In regards with background image, it has some limitations and it can take some specific values.
You can add following CSS one by one in column’s style field and check the result.background-size:100% 100%;
background-size:contain
background-size:coverIf you’re still not satisfied with the result, please use visibility options and hide this row/section on mobile devices. Then add another row/section to display it on mobile devices and add background image or image element with different dimensions.
Hope it helps.
April 15, 2016 at 1:22 pm #884635
ottobonoParticipantHi, thank you for your answer!
1) Tried even from another windows 10 laptop with flash player updated to the last version, still same problem. I think I will use the “original” page “Contatti” then, if it causes so many troubles :/ p.s. I added no padding in the middle card (I do not know how to add padding for only an element), dunno why it appears like this
2) Go in the page “Negozio” and you see there are 4 widgets on the right. I want that only the first three widgets are on the top and the 4th one is under the products, so the desired structure is (on mobile only):search
category
price filter
products
best sellers3) It worked (hide/show, even though it is not optimal still the transition from bigger screen to the smaller one. After the first transition works everything smoothly. Can you give it a look please? π ).
Thank you!
April 16, 2016 at 9:48 am #885769
ottobonoParticipantHi, I will open the site in few days, if you could help me somehow solving this, it would help me a lot! π I am almost done!
April 16, 2016 at 6:39 pm #886172
RadModeratorHi there,
1. For individual element, instead of padding option, you can use style input. For example, you can add this
padding: 40px;That will add 40px padding on all side of the element. Or like this to add 40px just on top and bottom.
padding: 40px 0px;or this, 40px for left and right
padding: 0px 40px;or one by one,
padding-top: 40px; padding-bottom: 40px; padding-left: 0px; padding-right: 0px;2. That’s not possible, the products are part of the content column, while widgets are part of sidebar column. They belong on a different container, it can be move through javascript but, CSS specific to sidebars will be removed too.
3. What do you mean by the transition from bigger to smaller screen? Is it turning from landscape to portrait, or just resizing the window?
Thanks!
April 17, 2016 at 9:37 am #886798
ottobonoParticipant1) Thank you, but I decided to not use cards π
2) Ok, how to do it with js?
3) Just resizing the windowThank you!
April 17, 2016 at 11:54 pm #887499
RadModeratorHi there,
1. Sure π
2. Please change this existing code
(function($){ var W = $(window).width(); if(W < 980){ $('.x-sidebar').insertBefore('.x-main'); } })(jQuery);to this
(function($){ var W = $(window).width(); if(W < 980){ $('.x-sidebar').insertBefore('.x-main'); $('#woocommerce_top_rated_products-2').appendTo('.x-main'); } })(jQuery);3. Ah thanks, please note that resizing the browser doesn’t simulate the actual mobile. Instead, please use visibility to serve different content with different background sizing. Working with background-size is more harder than using visibility.
Thanks!
April 18, 2016 at 11:21 am #888526
ottobonoParticipantHi Rad, thank you! Your solution worked just perfectly! I am really glad about it! π
April 19, 2016 at 12:18 am #889293
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. Weβll be happy to assist you.
Thanks for using X.
Cheers!
April 29, 2016 at 11:28 am #905876
ottobonoParticipantHi Rupok, this code does not work if you resize your window, it works only if you load the page with an already fixed width, for example if you have a mobile and load the page with that width. How to make the sidebars move even when you resize your browser window? Thank you!
April 29, 2016 at 12:27 pm #905930
ottobonoParticipantI am trying to find a solution with my freelancer to move it dinamically, but we did not come up til now with any idea. could you help me somehow?
April 30, 2016 at 3:02 am #906685
Rue NelModeratorHello There,
We have mentioned from our previous reply resizing the browser doesnβt simulate the actual mobile. To be able to move it dynamically, please update the code and use this instead:
(function($){ $(window).on('load resize', function(){ var W = $(window).width(); if(W < 980){ $('.x-sidebar').insertBefore('.x-main'); $('#woocommerce_top_rated_products-2').appendTo('.x-main'); } }); })(jQuery);Please let us know if this works out for you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-873018 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
