This topic has 5 replies, 3 voices, and was last updated 8 years, 3 months ago ago by Jack Richardson
Hi, I ‘m with the final details of the web and I need to make some changes :
1. That the cover page is different for desktop and tablet is ( portada.php ) and Mobile is for example ( tienda.php ) Is this possible ?
2. Changes:
3. Changes:
I need an answer please
Hello,
1. Sorry, but there are no such features.
2. To change text to Spanish go to Appearance > Widgets and add “Woocommerce Product Categories” widget to “Shop Sidebar” area and write title you need.
To close first category, edit wp-content/themes/woopress/js/etheme.js file. Find and comment out line 1808
$this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
Do you want to add border for categories sidebar? If so add this code in Global Custom CSS:
.woocommerce_product_categories {
border: 1px solid red;
}
.product-categories > li > a, .woocommerce_product_categories .widget-title {
padding-left: 20px;
}
To change background color, color use this css code:
.woocommerce_product_categories {
background-color: red;
}
.product-categories > li > a {
color: blue !important;
}
.product-categories > li > a:hover {
color: white !important;
}
Write color values you need.
3. Use this css code:
.fixed-header-area .header-logo {
display: none;
}
.fixed-header-area .fixed-header > .container {
width: 100%;
}
Regards,
Eva Kemp.
1.
It is solved by putting this script as Pure js the top that is loaded by default:
<script languaje="JavaScript">
var device = navigator.userAgent
if (device.match(/Iphone/i)|| device.match(/Ipod/i)|| device.match(/Android/i)|| device.match(/J2ME/i)|| device.match(/BlackBerry/i)|| device.match(/iPhone|iPad|iPod/i)|| device.match(/Opera Mini/i)|| device.match(/IEMobile/i)|| device.match(/Mobile/i)|| device.match(/Windows Phone/i)|| device.match(/windows mobile/i)|| device.match(/windows ce/i)|| device.match(/webOS/i)|| device.match(/palm/i)|| device.match(/bada/i)|| device.match(/series60/i)|| device.match(/nokia/i)|| device.match(/symbian/i)|| device.match(/HTC/i))
{
window.location = "https://example.com";
}
else
{
}
</script>
Thus the page will default on desktop and load the script to put in Mobile and tablet
🙂
I tried it and it works perfectly
Hello,
Glad to hear you’ve found the solution.
Have a nice day.
Best regards,
Jack Richardson.
The issue related to '‘Changing colors and texts’' has been successfully resolved, and the topic is now closed for further responses