Search
 
SCRIPT & CODE EXAMPLE
 

CSS

function opens a new css section tag

1
2
3
4
5
6
7
8
9
10
11
// attach my open 'section' function to the before product summary action
add_action( 'woocommerce_before_single_product_summary', 'my_non_image_content_wrapper_start', 20 );
// attach my close 'section' function to the after product summary action
add_action( 'woocommerce_after_single_product_summary', 'my_non_image_content_wrapper_end', 20 );
 
//This function opens a new css section tag called "no-image-wrap" to the page HTML before all of the woocommerce "stuff" except images
function my_non_image_content_wrapper_start() {
 echo '<section id="no-image-wrap">';
}
//This line adds the HTML to the page to end the new "no-image-wrap" section
function my_non_image_content_wrapper_end() { echo '</section>'; }
Comment

PREVIOUS NEXT
Code Example
Css :: how to make father padding doesnt affect child 
Css :: Use Pkgin To Install Packages 
Css :: 1rem in px 
Css :: sass @use 
Css :: how to stop a blue color on touch in css 
Css :: grouping selector in css 
Css :: hide the default tooltip behaviour from safari 
Css :: CSS Image accordion 
Css :: Pass argument to group_by 
Css :: css - global -Typogryphy 
Css :: css modal animation 
Css :: css accordian triangle 
Css :: CSS Div Angel (prize) 
Css :: htnl css 
Css :: css popover arrow divi menu 
Css :: css select class names devexpress 
Css :: css trigger animation 
Css :: storing and receiving FB 
Css :: mcq on advanced css 
Css :: sass dummy folder site download 
Css :: nuxt css other site 
Css :: css animation-duration 
Css :: switch css with text 
Css :: locale_translation_projects_alter 
Typescript :: next js onclick navigate 
Typescript :: onkeydown react typescript 
Typescript :: its is me dio 
Typescript :: google sheets remove characters from string 
Typescript :: sort array by date typescript 
Typescript :: typescript singleton 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =