There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021
Short of a child theme, is there a way to kill the <div class="post-headline"></div> on pages (but not posts/singles)? I don't want any title on pages.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
#3
Sep 25, 2012, 08:52 PM
derekwbeck
151 posts · Nov 2010
But how can you hide it conditionally? That is, hide it if the page is a page, keep it visible if it is a post? I believe I need php to do that conditional statement, but then where to put such php w/o editing the theme?
#4
Sep 25, 2012, 09:36 PM
lmilesw
10,176 posts · Jul 2009
Central New York State USA
Pages, posts, category pages, and archive pages all have their own classes. Just use those along with the title class to hide what you want.
__________________ ~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
#5
Sep 25, 2012, 11:17 PM
derekwbeck
151 posts · Nov 2010
In comparing my main page (a static page) of my test server:
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
#7
Sep 26, 2012, 12:21 PM
derekwbeck
151 posts · Nov 2010
Awesome, thanks. For future reference for other readers, here's the code I added to the CSS Inserts tab in ATA:
Code:
body.page .post-headline {
display: none;
}
The above eliminates the title entirely from pages, but retains it for posts.