cooljosh3k on "[Theme: Bouquet] Fixing messed up menu?"

خرید بک لینک

Ah, I see. I would never have figured that out.

I updated those lines to now be:

#access {
        box-shadow: 1px 5px 5px 5px rgba(0, 0, 0, 0.2);
        width: 100%;
}
#access a {
        font: 800 24px/1.625 Verdana, sans-serif;
        text-decoration: underline;
        text-shadow: -1px 5px 1px rgba(0, 0, 0, 0.2);
}
.genericon {
        text-decoration: none;
}
.dashicons, .dashicons-before::before {
        text-decoration: none;
}

I am unsure how to fix that issue of the two enqueued copies. At a rough guess, would I change my function file from:

<?php
function my_theme_enqueue_styles() {

        $parent_style = 'parent-style';

        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
                get_stylesheet_directory_uri() . '/style.css',
                array( $parent_style )
        );
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
?>

To this:

<?php
function my_theme_enqueue_styles() {
        wp_enqueue_style( 'child-style',
                get_stylesheet_directory_uri() . '/style.css',
                array( $parent_style )
        );
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
?>

?

WordPress ...

ما را در سایت WordPress دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 262 تاريخ: شنبه 2 مرداد 1395 ساعت: 19:00

صفحه بندی