Posts Tagged: Web Design
Website Templates for Industrial Manufacturers Added to the HubSpot Asset Marketplace
Jacob Lett of Bootstrap Creative designed a website theme for manufacturing businesses to promote their brand and products online using the HubSpot CMS. DETROIT (PRWEB) JANUARY 07, 2021 When strategic marketing consultant and website designer Jacob Lett entered HubSpot’s first-ever Themes Challenge hackathon, his vision was to design a website theme specifically to help manufacturers increase… Read more »
Category: Press Releases
What are the Best Image Size Dimensions for Responsive Web Design?
When building image carousels, jumbotrons, or full background sections you will often need to properly size an image. Below are some recommendations based on the most common device screen sizes and if you are using parallax or fixed background images. Desktop (1920×1080) 2000px x 360px, 4000px x 720px (retina) Parallax (images need to be as… Read more »
Category: Common Questions
WooCommerce Product Category and Terms Select Filters [code snippet]
The code below will help you add a form select filter for Woocommerce online shop on WordPress.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | <?php $categories = get_terms( ['taxonomy' => 'product_cat', 'hide_empty' => true] ); ?> <div class="product-categories"> <h3>Categories</h3> <select class="form-control shop-filter" onchange="location = this.value;"> <option selected value="/shop/">All</option> <?php foreach ( $categories as $category ) { ?> <option value="<?php echo get_term_link( $category->term_id ); ?>"><?php echo $category->name; ?></option> <?php } ?> </select> </div> <?php $terms = get_terms(array('taxonomy' => 'product_tag', 'hide_empty' => true)); ?> <div class="product-tags" > <h3>Template Tags</h3> <select class="form-control shop-filter" onchange="location = this.value;"> <option selected value="/shop/">All</option> <?php foreach ( $terms as $term ) { ?> <option value="<?php echo get_term_link( $term->term_id, 'product_tag' ); ?>"><?php echo $term->name; ?></option> <?php } ?> </select> </div> <script> jQuery(document).ready(function() { var queryString = window.location.href; console.log(queryString); jQuery(".shop-filter > option").each(function() { if (this.value == queryString) { this.selected = 'selected'; } }); }); </script> |
Category: Code Snippets
HubSpot CMS Site Search Input Module Override
HubSpot provides a default module to perform a site search. By default it searches website pages and blog posts. But what if you want to override this and only search blog posts? Below is an embed snippet to help you do just that.
Category: Code Snippets
Scale Up and Crop an Image WordPress [code snippet]
In WordPress you may need to increase the size of all thumbnails but WordPress does not res up the images to prevent distortion. Using the method outlined in this example you can use object-fit to make undersized images fit your desired aspect ratio. .img-crop__polyfill image is sized to the desired dimensions. This will help keep… Read more »
Category: Code Snippets
HubSpot Themes vs Templates – What is the Difference?
Previously it was possible to download HubSpot template packs from the HubSpot marketplace. These were a collection of landing page, website page, blog, and email templates. The downside of these packs is they did not share any unified settings and they were not very portable between accounts. Now a group of templates, custom modules, and… Read more »
Category: Common Questions
10 Benefits of Building Your Website on HubSpot CMS
Your website is the front door to your business. Choosing the right content management system (CMS) is essential for your business growth. HubSpot CMS consists of tools that all work together to give control of all your web assets. Basically, it takes the pain out of managing your website. Instead, it helps you focus on… Read more »
Category: Articles
Throttle or Delay JavaScript Functions When Window is Resized [code snippet]
Underscore.js has a popular method for throttling and debouncing functions to prevent them from firing multiple times when a window is resized. I found this delay function that works for times when you don’t need to load the entire underscore library to achieve a similar effect.
Category: Code Snippets
Top Freelance HubSpot CMS Website Developers
Below is a list of other freelance HubSpot CMS developers and website designers I recommend. Amy Andrews New York, USA https://amymandrews.com/ Ashley Hill Massachusetts, USA https://www.ashleyidesign.com/ Bob Walsh California, USA https://www.47hats.com/ Chad Pierce Florida, USA https://www.adesignlink.com/ Nicholas Decker Florida, USA https://www.nickdeckerdevs.com/ Stephanie O’Gay Garcia Ontario, Canada https://www.stephanieogaygarcia.com/ Want to be included in this list?… Read more »
Category: Articles
Web Accessibility Evaluation Tool Code Snippets
Below are some code snippets to help resolve accessibility errors found using the WAVE accessibility evaluation tool.
Category: Code Snippets