Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #723372

    Hello Guys,

    I want to change a tagcloud font-size in my child theme. Now I manually change this in the layout.css after an upadate.

    Greets Tim

    This is the code:

    /*tagcloud*/
    #top .tagcloud a{
    margin: 5px 5px;
    border-radius: 3px;
    text-decoration: none;
    padding: 10px 10px;
    }
    #723383

    Hi Tim!

    Please copy layout.css file into your child theme into a /css/ folder, apply the changes and then add following code to functions.php file of your child theme

    add_action( 'wp_enqueue_scripts', 'wp_change_layoutcss', 20 );
    function wp_change_layoutcss() {
       wp_dequeue_style( 'avia-layout' );
       wp_enqueue_style( 'avia-layout-child', get_stylesheet_directory_uri().'/css/layout.css' );
    }

    Regards,
    Yigit

    #747421

    Thnx Yigit!

    You can close this thread.

    Greets Tim!

    #747453

    Hi,

    You are welcome! Let us know if you have any other questions or issues :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Tagcloud font-size’ is closed to new replies.