Skip to content

CSS class on main content container #847

Closed Answered by techxplorer
techxplorer asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I think I've answered my own question. By using a very specific selector I can select the same element without the need to override the template. Specifically:

#main-content > article > section > div p:first-child:first-letter {
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 2.5rem;
  float: left;
  margin-right: 0.25rem;
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by techxplorer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant