Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1167461

    Please help with CSS

    1. There’s two colored boxes in the header. Let’s say I want to apply a different style to one of them. Whats the selector for the .not or .men classes I applied to these menu items. Or maybe first or last child?

    2. Also, whats the best way to add a padding/margin between them?
    I have this for now. Without it, they’re too close together.
    #menu-item-3787 {
    margin-right: 20px;
    }

    #1167609

    Hey jknetdesign,

    Could you post a link to where we can see the elements in question please?

    Best regards,
    Rikard

    #1167658

    New

    #1167728

    Hi,

    1. You can use the ID of the element to target it individually, the first button has this ID for instance:

    #menu-item-3787

    2. I don’t see any problem with that CSS, it seems to be doing what you want it to do.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.