• I’m trying to change the color of the “Edit” text displayed below every post’s title: I wish it to be consistent with the color already in use for the other commands (such as the publication date and author hyperlinks).

    Such commands are light grey and, when hovering the mouse over them, they turn orange: I don’t know why, only the “Edit” command turns to a reddish hue that now I wish to change.

    Hence, after inspecting the page, I thought that by adding the following line to Additional CSS the issue might be solved but it wasn’t:

    a.post-edit-link:hover  {
    	color: #ff7f00;
    }
    

    What am I doing wrong?
    Would anyone help me fix the correct piece of code?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you aware that the “Edit” link is only visible to users that are logged in and have the capability to edit? That means we won’t see them to diagnose the problem, but also that you needn’t worry since most people won’t see them.

    Thread Starter mcshelf1

    (@mcshelf1)

    Yes, I was: but I’m seeing it and it disturbs me; it breaks the uniformity.

    You could log out or use an incognito browser window.
    I personally prefer that things that the typical visitor doesn’t see should stand out and look different.
    If your CSS doesn’t change the color on hover, either the selector doesn’t match the link or the theme has a more specific selector. Use the browser Developer Tools to show you which rules apply and which are overriding (most specific or last) and adjust yours accordingly.

    Thread Starter mcshelf1

    (@mcshelf1)

    The selector looked like the correct one: but I’m not a rocket scientist when dabbling with programming. I’ll take a look and see what I can do.
    Thank you!

    Remember that it is only shown to logged in users who can edit.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A small issue with the “Edit” command color’ is closed to new replies.