Guest User

Come creare Template Wordpress Parte 4 (css correzione)

a guest
May 10th, 2018
146
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function register_style_default() {
  2.  
  3.  
  4.  
  5. wp_enqueue_style('def-style',get_template_directory_uri().'/css/style.css');
  6.  
  7.  
  8.  
  9. }
  10.  
  11. add_action('wp_enqueue_scripts','register_style_default');
  12.  
  13.  
  14.  
  15. /*All’interno del foglio di stile gli applichi la seguente correzione:*/
  16.  
  17. .card {
  18. float: left;
  19. top: 22vh;
  20. }
  21.  
  22. .card-title {
  23. color: black !important;
  24. }
RAW Paste Data