How to Redirect Add to Cart to Checkou...
After adding a product to the cart, automatically redirect customers to the checkout ...

WPCodeBox
710
Troubleshoot your Bricks editor site with ease! This snippet adds outlines to all elements on your frontend, using green for :before and red for :after pseudo-elements. Ideal for development and maintenance.
.brx-body * {
outline-style: dashed;
/* Default outline - Few options to try out */
/* Dark: rgba(0,0,0,0.40) */
/* Yellow: rgba(255,250,0,0.80) */
/* Blue: rgba(0,135,255,0.50) */
outline-color: rgba(0,135,255,0.50);
outline-width: 1px;
/* The offset values prevent the outlines from overlapping with eachother. Set to 0px for maximum accuracy */
outline-offset: 0;
}
.brx-body *::before {
outline-style: dashed;
/* Default green for :before rgba(0,255,178,0.40) */
outline-color: rgba(0,255,178,0.40);
outline-width: 2px;
/* The offset values prevent the outlines from overlapping with eachother. Set to 0px for maximum accuracy */
outline-offset: 2px;
}
.brx-body *::after {
outline-style: dashed;
/* Default red for :after rgba(255,0,0,0.50) */
outline-color: rgba(255,0,0,0.40);
outline-width: 2px;
/* The offset values prevent the outlines from overlapping with eachother. Set to 0px for maximum accuracy */
outline-offset: 4px;
}
#wpadminbar *::before,
#wpadminbar *,
#wpadminbar *::after {
outline-style: none;
}
/*Type: CSS
Custom PHP Condition:
<?php
! bricks_is_builder() && ! is_admin();*/





Disable WP-Cron for better WordPress performance and optimized site speed.
