[Resolved] Heading in LGC Column

Home Forums Support [Resolved] Heading in LGC Column

Home Forums Support Heading in LGC Column

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #786128
    purnima banik

    Hi Tom,

    How can I add H2 inside Grid Column with a background color before putting content inside it? Actually, this will be the header of the column in bold & will be at the top. I have created columns using LGC.

    Thanks

    Purnima

    #786390
    David
    Staff
    Customer Support

    Hi there,

    it looks like you already have something close to what you require instead of adding the title in <strong></strong> tags change them to <h2></h2>. Let me know

    #786404
    purnima banik

    Thank You

    #786405
    David
    Staff
    Customer Support

    Glad to be of help.

    #786441
    purnima banik

    Sorry, But I Wanted to change the background color of the column similar to https://govtjobguru.in/. Cud you help?

    #786667
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    The background colors for the inside of each column?

    If so, try this:

    .post-2385 .inside-grid-column {
        background-color: #ddd;
    }
    #786905
    purnima banik

    I mean the backgoround colour of H2 in columns in this page https://dajobb.com/drarft/

    #787183
    Tom
    Lead Developer
    Lead Developer

    Ah, then you’d do this:

    .post-14785 .inside-grid-column h2 {
        background: red;
        padding: 10px;
    }

    However, you’ll need to fix your HTML, as you have an empty <h2> element above it, and you have inline CSS giving the span a background color on the inside: https://www.screencast.com/t/RmfgjjEhm

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