Support Forum
Ok, I have hit a small stumbling block and would appreciate some advice/direction ...
It appears that #spMainContainer .spHeaderName inherits its font from the theme's body style. I was thinking that (conceptually) this should be from one of the heading styles, H1-H6. So, I added <h1> tags as:
echo '<h1>';
sp_GroupHeaderName('tagClass=spHeaderName');
echo '</problem-with-post-edit-button1>';
That works. But this does not:
echo '<h1>' . sp_GroupHeaderName('tagClass=spHeaderName') . echo '</problem-with-post-edit-button1>';
Is there a reason why the 2nd does not work?
If I understand your CSS flow, first you reset everything with reset.css, then you customize it. On line 14 of reset.css, the font-family is set to inherit. With that setting, my <h1> inherits my body font. Taking that out, it inherits my theme's <h1> font, which I want.
I want to avoid hard-coding a font in the theme's style sheet for that ID. Should I just edit reset.css and remove inherit? Or edit reset.css and remove the ID from the big list of those covered by line 14? Or is there a better way to get the theme's <h1> to pass down?
second would be:
echo '<h1>' . sp_GroupHeaderName('tagClass=spHeaderName') . '</problem-with-post-edit-button1>';
dont 'echo' twice...
h1 inherited the body font? would have to think about how thats happening... would have thought it would inherit the h1...
I have been thinking about just removing the font-family from the reset...
Visit Cruise Talk Central and Mr Papa's World
Thanks. Stupid me on the echo. However, with your correction, it outputs the header name, then outputs empty <h1> tags after that. I can't see how that could be happening.
You can see it on my forum page. I'll leave it there for a little bit. Then I might just comment out the font-family in the reset on the line I referenced, and see how it does.
sorry, wasnt rally paying attention to 'what' you were doing...
echo '<h1>' . sp_GroupHeaderName('tagClass=spHeaderName&echo=0') . '</problem-with-post-edit-button1>';
Visit Cruise Talk Central and Mr Papa's World
or
echo '<h1>' . sp_GroupHeaderName('tagClass=spHeaderName&get=1') . '</problem-with-post-edit-button1>';
if you dont want the div tags too...
Visit Cruise Talk Central and Mr Papa's World
Ok, I have finished a rather crash course in styling the forum at wpPERFORM.com. It's pretty much done, except for fixing things I hear via feedback or things that are broken/overlooked. I tried to hit most areas, even the editor stuff. One criticism I have heard is that the link font (the blue...a Google font) looks too bright/blurry in Chrome, but I've tested it in Chrome and don't see that issue. After it gets some live testing, I'm happy to contribute it as a theme if you think others will benefit. You might be in awe at just how big the anti-border crowd is.
By the way, what do you think of the concept - performance-oriented, manged/supported WP with premium Genesis themes and plugins @ $20/month?
of course, we would like to add it to the stable...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)