Changing CSS of only one item – not both

  • Unknown's avatar

    Hi.

    I have a dropdown where I changed the background color and width. A related link is retaining the background color and width.

    I’ve duplicated the CSS and applied the changes without the background color and width and applied it to the new link – it still is connected to the original CSS and changes the original if I change the CSS in the new item.

    The site is here:http://s729671073.onlinehome.us/

    The item that I want to retain is the ‘fishing’ dropdown.
    The item that I want to change are the social media icons at the bottom.

    The code is:

    .entry-content a {
    margin: 0 0 3px;
    color: #efc77f;
    height: 10px;
    font-size: 13px !important;
    font-weight: normal;
    font-family: ‘Arial Narrow’, Arial, sans-serif;
    float: left;
    width: 117px;
    background: rgba(0, 0, 0, 0.5) !important;
    }

    #Yelp, #Facebook, #TripAdvisor, #Yelp a, #Facebook a, #TripAdvisor a
    {
    margin: 0 0 0px;
    height: auto;
    font-size: 13px !important;
    font-weight: normal;
    font-family: ‘Arial Narrow’, Arial, sans-serif;
    float: left;
    width: auto;
    background-color:: rgba(0, 0, 0, 0) !important;
    }

    I’ve tried several background CSS’s and am getting nowhere.

    Please assist.

    bam

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi bamgraphics,

    s729671073.onlinehome.us is a WordPress.org site hosted by 1&1 (not WordPress.com). There is some information about the key differences between the two in this support documentation:

    WordPress.com vs. WordPress.org

    We can only help with WordPress.com sites but support for self hosted sites is available on the WordPress.org forums:

    https://wordpress.org/support/

    I recommend posting there for help with your CSS.

    Best of luck!

  • The topic ‘Changing CSS of only one item – not both’ is closed to new replies.