Forum Replies Created
-
AuthorPosts
-
September 5, 2015 at 10:10 am in reply to: Altitude-pro – add conditional Div wrapper to entry-title h1 #164668lorilinMemberThis reply has been marked as private.August 24, 2015 at 11:05 pm in reply to: Altitude pro – wider page for category archives? (see example) #163385lorilinMember
Thanks, Christoph! This totally put me on the right track. Here's what I ended up doing
My class is LL-widebody
Here's what my stylesheet looks like now
.full-width-content.front-page .content { padding: 0; } /*MY CUSTOM CLASS FOR WIDE PAGES*/ .full-width-content.LL-widebody .content { padding: 0px 50px 50px; width: 100%; }
Then I put the following in functions.php
//* Add custom body class to the head add_filter( 'body_class', 'sp_body_class' ); function sp_body_class( $classes ) { if ( is_category() ) $classes[] = 'LL-widebody'; return $classes; }
If I ever need to make this more specific, I can just target categories in the is_category() part.
Rockin!
August 24, 2015 at 9:41 am in reply to: Hide a certain category link from all places it might show up #163306lorilinMemberThanks, Davinder! That worked great for the meta section. I hope others will find it useful, too (I hate to think you went to all that effort just for me).
I had some trouble with the category appearing in the breadcrumbs, but have figured out a workaround. I don't use tags for anything at all, and those are pretty easy to remove. So I'll be using tags for my backend categorization for now.
Anyway, you are a prince for helping out 🙂
Cheers,
LoriAugust 22, 2015 at 2:25 pm in reply to: Hide a certain category link from all places it might show up #163190lorilinMemberI appreciate the tip, Davinder. It looks like that plugin hides the actual category posts, though. I want to display the actual posts, but keep the "secret" category link from showing up in the breadcrumbs, meta area, etc. It's because it's a category I only use for my own organization...it won't make sense to site visitors. And I tend to use colorful names for things like that to help me remember ;-p
August 17, 2015 at 2:38 pm in reply to: Background repeat problem – Altitude pro – new front page widget #162661lorilinMemberThanks so much, for checking but I already found the problem. (I forgot to mark this "resolved," sorry!!!!!)
I had an extra comma in the css that was messing things up. It's working perfect now!
I just named the class .front-page-8 .
Tomorrow I will be making more of these. I like that once you learn a principle, you can go on and use it to make more stuff. 🙂
August 17, 2015 at 10:04 am in reply to: Background repeat problem – Altitude pro – new front page widget #162632lorilinMemberNever mind -- I found a missing comma in my css. Now it's working!
Soooo incredibly stoked to have figured this out!
Now the only thing left to do is figure out how to make more front-page style pages.
August 17, 2015 at 7:41 am in reply to: Altitude pro – sidebar on category and archive pages? #162607lorilinMemberOh oh oh, I think I found it for categories. In the dashboard if you go to
posts>categoriesthen choose a category to edit (or make a new one), you can tell the category to use one of the other layouts (not the default layout).
The only thing is that it looks like you have to do it manually for each category.
I'm gonna mark this as resolved, because it solves the immediate problem for me. But if anyone feels like posting a more elegant solution so you can do all categories at once, I won't complain 🙂
Cheers,
LorilorilinMemberI would also love to be able to do this. Once you've done it one time, then you'd be able to create as many pages as you want, I would think.
If either of you find a way to do it, please share. I will do the same 🙂
Cheers,
Lori -
AuthorPosts