Search
 
SCRIPT & CODE EXAMPLE
 

CSS

wordpress theme Adding style.css in function.php

1
2
3
4
5
6
<?php
add_action( 'wp_enqueue_scripts', 'my_child_theme_enqueue_styles' );
function my_child_theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
?>
Comment

PREVIOUS NEXT
Code Example
Css :: red asterix css 
Css :: text-indent 
Css :: padding css 
Css :: remove clicked button border 
Css :: pagination in css 
Css :: background color using css 
Css :: how to make a game engine 
Css :: grid repeat css 
Css :: animate progress tag css 
Css :: attribute selectors css 
Css :: css font-size 
Css :: btn glow on hover 
Css :: add space between flex items 
Css :: how to center background image in css 
Css :: font shorthand 
Css :: change order columns bootstrap 
Css :: CSS adding something next to a picture 
Css :: alert without page refresh 
Css :: remove auto focus selected background color 
Css :: how to add color to a image css 
Css :: ckeditor push text in front of cursor 
Css :: color gradient for text 
Css :: css universal reset 
Css :: adding a perfect responsive background image 
Css :: css line height 
Css :: css button generator 
Css :: css select parent 
Css :: remove black shadow from border css 
Css :: how to get 2 words one left aligh and right align in css 
Css :: red color hex 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =