Storefront header: Restrict AWS width
-
I see from another post that I can add the AWS search form to the Storefront header with this:
remove_action( 'storefront_header', 'storefront_product_search' ); add_action( 'storefront_header', 'position_aws_in_header', 40 ); function position_aws_in_header( ) { echo do_shortcode( '[aws_search_form id="1"]' ); }
However, the AWS search form extends across the entire width of the header. I would like to restrict the width and have it reside on the right-hand side of the header. Can you help?
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Storefront header: Restrict AWS width’ is closed to new replies.