Forum Replies Created
-
AuthorPosts
-
StefsullMember
Yes! Thank you so much for your help, Brad. 🙂
StefsullMemberThe resolution involved making the changes via a template applied instead of the functions.php page. And no, I'm unclear on why that worked, but thought I'd mention it.
StefsullMemberThanks... emailed you. And yes, your image is what I'm trying to achieve... except for that one. little. problem. 😉
StefsullMemberBrad, I did a private link to the site, but I can't tell by looking whether it went to you or not. It shows private, but not who it's for. Let me know if you can NOT see it. Cheers.
StefsullMemberThis reply has been marked as private.StefsullMemberMy site is built off the Genesis Sample. It's on a staging server... I can link you to that privately.
StefsullMemberYup... that's what I was saying in the previous post: "any page that’s a collection of blog posts (blog home, archive, tags, categories and author)." All of those should be in this same style. Thanks.
StefsullMemberNow I gotcha.
On all the pages that show lists of blog posts, my designer wants this order: http://screencast.com/t/KGvgV5RLvR9
Panoramic image (I created the new image type)
Post-info
Post-title
Snippet
Post-metaSo what I was attempting to do (in my own feeble way) is to unhook those items and reorder them (which I was "mostly successful" at).
Where have I gone wrong? (I'm a good front-end dev, but still learning Genesis/WP... so I tend to hack things together and I'm still trying to learn best practices.)
StefsullMemberAlways happy to help on things I'm good at... I'm so new at too much of this WP stuff. 😉
Cheers
StefsullMemberWhich theme are you using? In the Genesis Sample theme, I had to name the image the same, upload it, and then check a box in the admin that said to use the image rather than text...
StefsullMemberYour best bet would probably be to be more specific with those hover classes so they only apply to the main menu. Even though both menus have the same class (.genesis-nav-menu), they're in containers with different classes. The main menu is in the nav container called .nav-primary and the secondary menu is in a nav container called .nav-header.
By writing styles more specifically you can target the menus separately:
.nav-primary .genesis-nav-menu { property: value; }
- targets only the main menu..nav-header .genesis-nav-menu { property: value; }
- targets only the secondary menu.However, anything written as
.genesis-nav-menu
without the modifier class prior to it will apply to both menus.If it were me, I'd write the shared styles with the simple .genesis-nav-menu class and divide up the rest with the more specific selectors... rather than trying to override the unnecessary styles with further CSS.
The rule you need to divide up to get rid of those hovers is this one:
.genesis-nav-menu li:hover, .genesis-nav-menu a:hover { color: FFFFFF; /* this color isn't being applied because it's missing the # (should be #FFF) */ background-color: #dbdbdb; text-decoration: none; border-radius: 0.4em; -moz-box-shadow: inset 0 0 2px #444; -webkit-box-shadow: inset 0 0 2px #444; box-shadow: inset 0 0 2px #444; }
Hope that helps...
StefsullMemberI want that extra first .entry-title to go away. I don't know what is making it duplicate ONLY on the first post of any page that's a collection of blog posts (blog home, archive, tags, categories and author). Whether I'm showing 5 posts or 10 posts, when you got to the second page of posts, again, that first title is duplicated OVER the div.each-post that holds the image, title and post-info... and the rest is properly inside.
Any thoughts on what could be causing the duplication?
StefsullMemberOK. For those following along at home (or running into this at a later date), after googling to figure out how to do what Brad described above, I found a great code snippet from someone who already did exactly what I needed. Thank you generous people for sharing! If you need to create a new shortcode to get the post author info to use outside The Loop, it's here:
http://ahjira.com/genesis-post-author-short-code-does-not-work-outside-the-loop/
(And thanks again for pointing me in the right direction, @braddalton.)
StefsullMemberOn it, Brad! I had no way to verbalize it since this is not my expertise, but I told my husband (also a developer) that it <b>must</b> be due to it not being "allowed" for some reason where it is. Thank you so much for the lifeline...
StefsullMemberGoodonya. Oh how I wish the problem I posted about the time you did turned out the simple. 🙂
Cheers
StefsullMemberI'm using a different theme, so this may be offbase, but in mine to appear after the header (and not within it) I would start the code with:
add_action( 'genesis_after_header', 'olotus_offerings_subhead' );
Have you tried that?
StefsullMemberOK, then I think you'll be good to just put it in like the rest of your menu. Mine looks like this (in Genesis): http://screencast.com/t/NXa0wjKPpJ
StefsullMemberGlad it's working... I'm guessing you want it to actually be PART of the menu above the header
<nav class="nav-primary"
?If so, I believe you have to do that in the menu widget.
Can you paste in here what you've got in the Simple Hooks settings box for the skip link & menu?
StefsullMemberSomehow, the link has double quotation marks. Here's the code: http://screencast.com/t/tObESO6n9i
And here's where it's trying to send the person: http://screencast.com/t/ylWiucHdXe
As to the hooks - are you entering the code for the menu AND the skip link in the same box? Like this: http://screencast.com/t/EgkqUp7DHu
StefsullMemberIs there anywhere I can see this online in the page (to see why it's going to the 404)? It doesn't appear to be in the link above...
I don't know Streamline Pro, so I can't really say why the hook isn't working. Can you paste the hook that works and the hook that doesn't into the forum? And maybe we can spot the problem?
-
AuthorPosts