Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Site is not in full with after updating a theme
New Landing › How can we help? › Atelier › Site is not in full with after updating a theme
- This topic has 12 replies, 5 voices, and was last updated 8 years by Swift Ideas – Ed.
-
Posted in: Atelier
-
November 18, 2016 at 8:08 am #302460
Hello Support,
I have update a theme from 2.3.0 to 2.4.14. After that I seen that site is not in full width.
After did some R&D I found that page.php contains six line of code. See screen shot (new page.php): http://prntscr.com/d8qtowSo I copy page.php code from old version of theme and its looks good now. See screen shot(old page.php): http://prntscr.com/d8quc2
So please let me know if I did anything wrong.
Thanks
November 18, 2016 at 6:47 pm #302556Hi,
Not sure about it, will forward to our head developer.
-Rui
November 19, 2016 at 2:01 am #302594November 21, 2016 at 3:12 pm #302773Hi guys, sorry to come in on this but I have just updated the theme and swift framework to the latest versions and now my site isn’t full width now. Is there going to be an update for this. Will copying the code in the page.php fix it for now? Also now the page builder is not enabled for all pages and products and this means that the description tab doesn’t show on any products. This happened to my other site and means I have to go through all the products enabling the swift builder. Thanks.
November 21, 2016 at 3:36 pm #302776I tried to update too a month ago maybe, same thing happened to me. Had to restore a large site back to previous version to get it working without updating/correcting every 450 products. I will stay on the old version until I cant see any threads like this one still coming up. Any fix coming out for it?
November 22, 2016 at 5:05 am #302922Hi @Agenta/@markfordham,
If you have the latest version then there should be no issues – unless you have a child theme with template or function overrides. Can you confirm if this is the case?
– Ed
November 22, 2016 at 10:32 am #302931Hi Ed,
I am using the child theme but have only made these changes to the functions.php
add_action(‘after_setup_theme’, ‘remove_admin_bar’);
function remove_admin_bar() {
if (!current_user_can(‘administrator’) && !is_admin()) {
show_admin_bar(false);
}
}function disable_srcset( $sources ) {
return false;
}
add_filter( ‘wp_calculate_image_srcset’, ‘disable_srcset’ );add_action( ‘init’, ‘stop_heartbeat’, 1 );
function stop_heartbeat() {
wp_deregister_script(‘heartbeat’);
}It works fine with the current theme 2.3.0 and swift framework 2.4.15. I know these are old versions as I have held off updating because my other sites have experienced a similar issue.
Regarding the page builder becoming disabled, have you experienced this problem? Is there a way to enable the page builder for pages and products without having to go through them manually?
Thanks
November 23, 2016 at 10:55 am #303138Hi @markfordham
Do you have a test site at all for where we can look into your issues? Can’t replicate any of it locally with the latest versions.
The page builder adjust only happens when you edit or create a new page, and upon re-activing will remain enabled. This was a meta change we needed to make for going forward with the builder.
Thanks,
– Ed
November 28, 2016 at 8:02 am #303854Hello Support,
Updated a theme and swift framework plugin. However still have few issues.
1. Swift Slider is not in full width
http://bearandbear333.staging.wpengine.com/
2. Blog archive page is not in full width specially slider and Instagram block
http://bearandbear333.staging.wpengine.com/journal/
3. Problems in split pages
Link: http://bearandbear333.staging.wpengine.com/faqs/
http://bearandbear333.staging.wpengine.com/contact-us/
Screenshot: http://prntscr.com/dcnkkaThanks
November 29, 2016 at 7:57 am #3041031) The top row there is set to “standard width” – should be full width.
2) Fixed this for the next update, thanks for the heads up.
3) Looks to do with your css, please remove! – https://www.dropbox.com/s/6k7a5dkqjxzrlpk/Screenshot%202016-11-29%2006.57.31.png?dl=0
– Ed
November 30, 2016 at 7:44 am #304367Hello Ed,
Thank you for your response.
One more question, would be great if you help me in that.
How can I make map as full width? Already tried to make row as full width from back end.
It should look like this link: https://bearandbear.com/contact-us/
Our staging link: http://bearandbear333.staging.wpengine.com/contact-us/Thanks
November 30, 2016 at 7:57 am #304368Hi Ed,
I found one more issue that “add to cart” on header is not working.
For ex: If I add any product in cart through “+” icon from shop page, it will shake the cart in header and prodcut will add to cart. After that if I will remove any products from cart then cart price will become zero. Also after that if I refresh the page then the product which I removed it again comes in cart.
I already deactivated child theme and check then also issue is still persist. So there is no any child them issue.
Link: http://bearandbear333.staging.wpengine.com/shop/
Please see screen shot for more details.
Screen shot:
Cart value becomes zero: http://prntscr.com/ddi7dm
Add prodcut into cart: http://prntscr.com/ddi7zyThanks
November 30, 2016 at 12:49 pm #304441Hi @David,
In the map element – edit it and select the Full Width/Fullscreen option to ON, OR place it within a row that is set to “Full Width”.
For the cart, I’ve tested this locally and can’t replicate the issue, wondering if this is due to some kind of caching on your site. Is there anything hosting level that you have, or plugins active that do any form of caching or performance improvements?
– Ed
-
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.