[Resolved] Need Help in CSS

Home Forums Support [Resolved] Need Help in CSS

Home Forums Support Need Help in CSS

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2317513
    Sundry

    I tweaked the additional CSS to redesign my blog. Now due to some reasons, the button (widget bar element) on hover becomes dark. Can you please help me fix this?

    #2317759
    Ying
    Staff
    Customer Support

    Hi Sundry,

    Try use a more specific selector for your CSS:

    .textwidget .button.light:hover {
        background: #333;
        color: #fff;
    }
    #2317816
    Sundry

    Thanks, Ying. Do I have to replace it with any previous section or just add it?

    #2317848
    Ying
    Staff
    Customer Support

    Have you added or are you going to add the lightclass to other buttons that are not in the sidebar?

    If so, add my CSS.

    If not, replace your previous CSS with my CSS ๐Ÿ™‚

    #2318102
    Sundry

    I added your code at bottom of the additional CSS and customed the color a little. Just want to know if it leaves any unnecessary CSS above.

    #2318578
    Ying
    Staff
    Customer Support

    If you want to make sure no repeated CSS, then use this CSS only:

    button.light:hover {
        background: #333 !important;
        color: #fff !importan;
    }
    #2325722
    Sundry

    Thanks.

    #2326519
    Ying
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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