Forum Replies Created
-
AuthorPosts
-
jleslieMember
The following worked, but it does remove the current page menu highlighting completely:
In your style.css file, find the following CSS rule:
#nav li a:hover, #nav li a:active, #nav .current_page_item a, #nav .current-cat a, #nav .current-menu-item a { background-color: #D99E58; color: #FFFFFF; text-shadow: 1px 1px #D99E58; }
Change it to:
#nav li a:hover, #nav li a:active { background-color: #D99E58; color: #FFFFFF; text-shadow: 1px 1px #D99E58; }
jleslieMemberOk, I got the navigation to work by removing "www". But now those menu items are always highlighted as active. How do I prevent it from doing this?
jleslieMemberThank you for your help. Nothing seemed to be working until this was suggested - after replacing 'your custom code' for 'main menu icons' I added this to my stylesheet:
#nav li.main-menu-icons{ float: right; } #nav li.main-menu-icons a{ display: inline-block !important; margin-bottom: 0 !important; border-right: none; margin-right: 10px !important; padding: 6px 0 5px; } #nav li.main-menu-icons a:hover, #nav li.main-menu-icons a:active, #nav li.main-menu-icons:hover a{ background: none !important; }
That seems to work perfectly. Again, thanks everyone for your help!
jleslieMemberThanks bandj! When I try that it causes it to go vertical.
jleslieMemberI'm sorry, Carleigh, I don't understand what you mean? I'm just not far enough along in my understanding to grasp what is going on.
I was originally following these instructions for customizing the nav bar at http://www.rfmeier.net/add-a-custom-primary-nav-extras-within-genesis/#comment-7455.
Any pointers in the right direction would be appreciated. Thanks so much for your help!
jleslieMemberI got it to move to the right, but now it has spaces in between the icons and looks like it widened the menu as well.
Any idea what is adding those spaces and how to remove them? Here is the code:
$menu .= sprintf( '<li class="right your-custom-code-class">%s</li>', do_shortcode( '[feather_follow size="22"]' ) );
Thanks!
jleslieMemberThanks for the help. I did get my icons on the nav bar, but since I'm using short code I didn't know how to get it over to the right.
The original code that was suggested was:
$menu .= sprintf( '<li class="right your-custom-code-class">%s</li>', __( 'Your custom code' ) );
The code I'm using is:
$menu .= sprintf( '%s', do_shortcode( '[feather_follow size="23"]' ) );
How do I code this to get it to the right?
Thanks so much for your help!
jleslieMemberStrange. You're right. When I compare them using Chrome, they look identical. But when I view them in Safari they definitely look different - the demo is darker. I'm using Mac OS 10.9.2.
Guess it's good. I just wanted to make sure it wasn't something I did.
Thanks for your help!
jleslieMemberGreat! Thank you so much, Tom. It worked! I just had to add a second entry to remove the box-shadow as well. Most likely it will be just this image, so the first method worked perfectly.
Thanks again for your help!
jleslieMemberHere is the response I got from Support that worked:
Edit the post. Click the "add media" button. Go to the "upload" link and select "uploaded to the post". The image must be shown on that screen in order to be used.
Uploading an image while editing your post creates an association in the db whereby WP sees the image as "attached" to the post.
That is how featured images are chosen. Images sizes are created when the image is uploaded and changing settings afterwards will not affect previously uploaded images.
jleslieMemberThanks. I forgot to mention that I had tried that to no avail. Most of the pics and entries were newly added.
So am I correct that it should be generating the same size image no matter the original size?
-
AuthorPosts