• Bug report

    On author.php page for Author archives, the page background isn’t displayed as set by style.css in either dkret3 or child themes. The issue is the body class of “author” being applied, which is also a class used for the author icon throughout the site.

    In dkret3/library/css/screen.css line 388:

    .author {
        background: url(../images/user.gif) no-repeat 0 center;
        padding: 0 0 0 18px;
    }

    Since that’s globally looking for the “author” class, the page background ends up white with the Author icon all the way to the left of the window.

    I added a line in my child theme for “body.author” and set my background color in there as well, but it might be best to change that class name to avoid any confusion elsewhere with the core WordPress body class for the Author archive page.

    – Matt

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug with Author.php page’ is closed to new replies.