Archived topic
Heading in LGC Column
7 replies · Started by purnima banik on January 19, 2019
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
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
Thank You
Glad to be of help.
Sorry, But I Wanted to change the background color of the column similar to https://govtjobguru.in/. Cud you help?
Hi there,
The background colors for the inside of each column?
If so, try this:
.post-2385 .inside-grid-column {
background-color: #ddd;
}
I mean the backgoround colour of H2 in columns in this page https://dajobb.com/drarft/
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