Shortcode made my site non responsive
-
I recently installed woocommerce currency switcher plugin on my site http://www.rivalinkdesignco.com, first i used the widget option which worked fine, however it also gave an option for shortcode use. I am in no way a coding expert but can follow instructions just fine.
I placed this shortcode in the header.php as instructed on the developer website, then removed the code and resaved, now my woocommerce pages as well as portfolio (athletes) page is no longer responsive on mobile devices, and all content is very large and overflowing all containers. I still have correct padding on the left side of the phone screen, but there are no bounds on the right hand side and no ability to scroll right.
Previously my site was perfectly responsive and looked awesome, so I’m guessing a good place to look for coding errors would be header.php which is where I changed elements.I also attempted to place shortcode into my Shop Menu which is powered by Uber Menu. But didn’t like the look so completely removed that as well. Could it be leaving some kind of code elsewhere that I haven’t looked?
Shortcode used:
<?php echo do_shortcode('[woocs]'); ?>in header.Shortcode used in menu:
[woocs show_flags=1 width='300px' flag_position='right' txt_type='desc']I don’t have a backup saved (rookie error) and switching themes didn’t help.
Hopefully someone can find a glaring mistake that I keep brushing over.
The topic ‘Shortcode made my site non responsive’ is closed to new replies.