CSS .rounded .fill.banner-link, .rounded .banner-inner, .rounded .fill { overflow: hidden!important; border-radius: 20px!important; -webkit-border-radius: 20px; -moz-border-radius: 20px; } .rounded, .rounded .img-inner { border-radius: 20px; }
This function will replace all occurrences of “look-for-this-string” in page content function wb_replace_text($text) { $text = str_replace(‘look-for-this-string’, ‘replace-with-this-string’, $text); return $text; } add_filter(‘the_content’, ‘wb_replace_text’);
Assuming you have a logo on the left, just add this to custom CSS #masthead #logo { display: none; } Then create a block with the logo / whatever you want. You can use this to insert sliders, image boxes or any other element available in UX block. Then add that block as a first […]
.mfp-content .nav .menu-item a { color: #000; transition: all .2s ease-in-out; } .mfp-content .nav .menu-item a:hover,.mfp-content .nav .menu-item a:focus { color: #fff; }
Theme or plugin editor are posing a risk to security, at least according to people a lot smarter than me! Many auto-installers, hostings, security plugins are amending wp-config file by adding a couple of constants. If you cannot see theme/plugin editor, check your wp-config.php file for the following lines: define( ‘DISALLOW_FILE_EDIT’, true ); define( ‘DISALLOW_FILE_MODS’, […]
It’s best to use images with the exact size for the given container. This ensures we do not force our users to download unnecessary data, and keeps the site as light as possible. Here is a quick guide on how to check the size of already uploaded picture, but it will also work for containers […]
Hello! I came across an interesting question on how to display Flatsome’s countdown without weeks box. There’s no option to do this in settings (as of April ’22), but it could be quite easy javascript task. I tried to achieve this in a child theme, but for some reason the file is being ignored and […]
Log in to the dashboard Go to WooCommerce -> Status Open Tools tab Click “Create default WooCommerce pages” Enjoy!