Forum Replies Created
-
AuthorPosts
-
Hi Andy,
How do I add the widget to the top of the default products page? If you remember it is there that I need to show a widget with the same content as the sidebar. Your CSS code will only work on the test page you asked me to create.
Thanks
RobHi Andy I have changed the password. See below.
Thanks
RobHi Andy
I have created a page with a widget in a color section at the top and given it an ID of ‘mobilemenu’. The color section below has an ID of ‘conent’ for testing purposes.
http://fordtractorsales.co.uk/robs-mobile-test-page/
The widget is a copy of the Shop Overview Page sidebar so alongside a search box and a back button it has 6 Woocommerce Layered Nav widgets with the 6 Attributes. The Attributes menu does not show any content on the test page because it only shows attributes available for the category (tractor) page it is on. (e.g. http://fordtractorsales.co.uk/product-category/1000-series/2000/)
I have enabled sidebar on the page but it is showing below the content for some reason.
I have disabled the Sidebar on Smartphones In the Theme Options.Many thanks
RobYes good idea! A widget at the top of the page with the same as the sidebar would work as long as it only shows when the sidebar gets hidden. Can you advise the procedure for that?
Thanks
RobGreat thanks Yigit. I noticed it seemed to be the Layerslider.
Cheers
RobHi I just noticed that I had not responded to Yigit’s question. I always keep my theme up to date so the latest version currently 3.8.4. I just ran it again and got a similar result.
This is the site I ran it on http://www.consolite.co.uk/
This is the new report:
FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php
——————————————————————————————————————————————————————–
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
——————————————————————————————————————————————————————–
2231 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2467 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2631 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4207 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
4275 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
5637 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
——————————————————————————————————————————————————————–FILE: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/shortcodes.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————–
15 | WARNING | Method name “LS_Shortcode::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————–January 25, 2017 at 2:04 pm in reply to: Remove large Category image at the top of products and sub cats #738360Wow that was fast!
Perfect thanks.
RobJanuary 25, 2017 at 1:57 pm in reply to: Remove large Category image at the top of products and sub cats #738353Sorry Yigit here you go:
January 19, 2017 at 6:44 pm in reply to: Shop Categories plugin that works with Enfold & Woo #736020Thanks Andy I think you are right. Woocommerce recommend using one of their own plugins called Brands and make each tractor a brand. I am going to give it a go next.
Thanks for your help.
RobJanuary 13, 2017 at 5:39 pm in reply to: Shop Categories plugin that works with Enfold & Woo #733243Sorry ignore last post. I don’t think it has anything to do with the theme.
January 13, 2017 at 5:31 pm in reply to: Shop Categories plugin that works with Enfold & Woo #733235Unfortunately Basilis’ suggestion is not sufficient on its own. I need to use a product filter.
The plugin I mentioned before looks like it will do what I need but for some reason it only shows the widget title in the sidebar not the categories below. I have put the widget in a page and it works fine. Is the Enfold theme blocking the content in the sidebar or something?
Plugin – https://wordpress.org/plugins/woocommerce-products-filter/
Page where widget works – http://fordtractorsales.co.uk/robs-test-page/
Sidebar where it doesn’t – http://fordtractorsales.co.uk/product-category/10-series/2610/
WOOF page – http://fordtractorsales.co.uk/wp-admin/admin.php?page=wc-settings&tab=woof
login below
Thanks
RobJanuary 13, 2017 at 4:09 pm in reply to: Shop Categories plugin that works with Enfold & Woo #733173Thanks Basilis Will do.
I think I also have a similar problem.
Could you please write your domain?Emrah – I would need to give you a login as it is behind a maintenance page. Also there is nothing to see yet. I will post the url when it is live.
January 12, 2017 at 7:11 pm in reply to: Shop Categories plugin that works with Enfold & Woo #732789I have been recommended this plugin:
https://wordpress.org/plugins/woocommerce-products-filter/
Do you know if it works okay with Enfold?
Thanks
RobThanks Rikard! Works a treat. Very useful trick to know.
RobNice one Rikard! It didn’t work but I rejigged it to the following and it works great:
#top .widget_nav_menu ul ul li a { padding: 2px 1px 2px 8px; } #top .widget_nav_menu ul ul li { display:inline-block !important; }
My faith also restored in you guys.
RobVERY disappointed with this answer Basilis. I was only asking for a little help or pointing in the correct solution. Enfold as a shop does not function as well as your competitors and doesn’t allow a lot of plugins that might have helped with custom menus. After purchasing this theme a dozen or so times, if this is what your support has come to, I doubt I will be buying it again.
RobThanks a lot Nikko. That got rid of the color as well so I cobbled both together and this works:
@media only screen and (max-width:767px) { .header_color .header_bg { background: #006598 !important; } }
Thanks again for your helpHi Viney,
Many thanks but as per 3rd post I gave up on the idea of a striped background. The client wanted a picture of a tractor instead. What I am trying to do is hide that background picture of a tractor on small screens as it gets overlapped by the logo. I tried this code but it didn’t work:
@media only screen and (max-width: 767px) { .header_color { background: #006598 !important; }}
Thanks
RobHi Basilis,
I have tried a few different ways but none work. This is what I expected to work:@media only screen and (max-width: 767px) { .header_color { background: #006598 !important; }}
Can you see what I have done wrong?
Thanks
RobOkay thanks. What is the best css to use to hide the background header image on mobile? This is the css that adds it:
.header_color .header_bg { background: #006699 url(//fordtractorsales.co.uk/wp-content/uploads/2016/11/Ford-Tractor-Spares-Header-Tractor-88.png) bottom center no-repeat scroll; }
Ta
RobHi Rikard,
It didn’t work but I have given up on the idea for now. I have gone for a static image. Is there any way to get this background image to shrink with the header like the logo does?
Thanks
RobNovember 16, 2016 at 3:12 pm in reply to: Woocommerce category product display pages fixed width and height #712920Thanks
November 14, 2016 at 1:29 pm in reply to: Woocommerce category product display pages fixed width and height #711939Okay thanks Ismael. I have resized all images and re-uploaded them.
RobPerfect!
Many thanks NikkoFree at the moment. The client may want to upgrade it later.
Thanks
RobHi Nikko,
It hasn’t worked but I think it is because I don’t have an add to cart button now. I have replaced it with “Request a Quote” button. this is the div:<div class="yith-ywraq-add-to-quote add-to-quote-2718"> <div class="yith-ywraq-add-button show" style="display:block"> <a href="#" class="add-request-quote-button button" data-product_id="2718" data-wp_nonce="17c79cf36a"> Add to quote</a> <img src="http://fordtractorsales.co.uk/wp-content/plugins/yith-woocommerce-request-a-quote/assets/images/wpspin_light.gif" class="ajax-loading" alt="loading" style="visibility:hidden" width="16" height="16"> </div> </div>
If you could adjust the code for me I would be most grateful. I don’t want to break anything.
Thanks
RobHi Nikko,
I get this error:Parse error: syntax error, unexpected ‘addtocart_button_func’ (T_STRING), expecting ‘(‘ in /home/fordtrac/public_html/fordtractorsales.co.uk/wp-content/themes/orion-theme/functions.php on line 17
This is line 17:
function add_content_after addtocart_button_func() {
Thanks for your help
RobNovember 3, 2016 at 12:48 pm in reply to: Woocommerce category product display pages fixed width and height #707700HI Ismael,
Yes I set the size of the catalogue images and rebuilt the thumbs. I know the better solution is upload images all the same size but this is a shop transferred over from Joomla which has 2288 products, all with old images of varying sizes.
What I want is the image to be responsive and fit centered within a square which size depends on the responsive layout. Once this works I will rebuild the thumbnails without hard crop. This way all products will line up evenly and show the full product image. At the moment it looks a mess.
Thanks
That’s done it. Thanks Yigit
RobHi Yigit
It is aligned to the left. I want it aligned centre (USA center). The only way to have it at the bottom of the slideshow is aligned left.
Thanks -
AuthorPosts