- This topic has 7 replies, 2 voices, and was last updated 6 years, 11 months ago by Tom.
-
AuthorPosts
-
May 22, 2017 at 5:09 am #322151Russell
Hi Tom,
With every blog* I post I will have the following three levels of title:
1) main title (main point)
2) sub-title (supporting point)
3) sub-sub-title (brief connecting the dots)I want to ensure that I’m using h1-h6 within established wordpress rulesets. To that end I came across this article. In it, they are very specific on how and when to use h1-h6. Can you confirm what assignments generatepress them assigns to h1-h6?
Also, I’d like to design a specific heading that is similar to the bluebook outline found at this site. Even down to the level where the heading acts a template where type in <hx> and it spits out default title/text “My Take:” in the font color of my choice. The use case I’m designing is that as I write I type in <hx> knowing that the colored box & the default title/text will all come together as I finish typing my comment and close with the <hx> tag.
Am I tracking accurately? Is creating a heading tag <hx> that has default text and shaded box doable?
thanks for you help,
Russp.s. the bigfoot footnote situation you helped me with is working perfectly. I’m able to place popups throughout the site and in posts at will. Thanks again
*I’ll be writing on how machine learning is changing the definition of power. Mainly about how power, the ability to make one’s way in the world required leverage, and primarily for institutions, is being redefined by machine learning used by front-line individuals. Hence a lot of context is needed for each blog to help the wide-ranging audience come into the context of the blog.
May 22, 2017 at 11:29 am #322331TomLead DeveloperLead DeveloperHi there,
You should be able to target headings in GP with the regular selectors:
h1 { } h2 { }
etc..
I’m not too sure what you mean by the bluebook outline? The blue box on that site is just a custom element with some CSS attached to it. The text etc.. is added manually.
May 23, 2017 at 5:00 am #322785RussellThanks Tom. ‘bluebook’ should have been ‘blue box’. Being very new to website building, I didn’t know if there was a way to automate the text portion. So I thought I asked. manual works.
May 23, 2017 at 8:20 am #322901TomLead DeveloperLead DeveloperNo problem 🙂
May 23, 2017 at 8:25 am #322911RussellTom,
When I add
h4 {
background-color: lightblue;
}I get the background and the color I seek. No how do I get it to show only in the body of the blog itself? and not in the other areas (like the sidebar) where heading 4 is used?
May 23, 2017 at 8:33 am #322917TomLead DeveloperLead DeveloperTry this:
.inside-article h4 { }
May 23, 2017 at 1:39 pm #323088RussellThat works! Thanks for holding space for me!
May 23, 2017 at 2:34 pm #323120TomLead DeveloperLead DeveloperGlad I could help!
-
AuthorPosts
- You must be logged in to reply to this topic.