Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • i’m sorry, I thought it was like in the forum where you enter your questions according to the topic. It worked, thanks a lot.

    hi, i’m italian, not good inglish speaking. My first time here. I created twenty twelve-child. To do a test I changed the color of the background and margin top of the site and work. But do not work for the other changes:

    /*
    Theme Name: Twenty Twelve Child
    Description: Tema Child 2015 per il Tema Twenty Twelve
    Template: twentytwelve
    Version: 0.1.0
    Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
    Text Domain: twentytwelve
    */

    body {background-color: lightblue;}

    body .site {
    margin-top: 0;

    /*remove the border on the header image */

    .entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
    border-radius: none !important;
    box-shadow: none !important;
    }

    .main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {
    color: #F41212;
    font-weight: bold;
    }

    .entry-title a {
    text-decoration: none;
    }
    a {
    color: red;
    }

    my function.php is:

    <?php

    //mie funzioni personalizzate
    add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_theme_style’ );
    function enqueue_parent_theme_style() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
    }
    // aggiungi una favicon al mio blog
    function blog_favicon() {
    echo ‘<link rel=”Shortcut Icon” type=”image/x-icon” href=”‘.get_bloginfo(‘stylesheet_directory’).’/images/favicon.ico” />’;
    }
    add_action(‘wp_head’, ‘blog_favicon’);

    ?>

Viewing 2 replies - 1 through 2 (of 2 total)