Forum Replies Created
-
AuthorPosts
-
nhedMember
Anyone have any ideas for me? Or can you point me in the right direction so I can get the Search function working? Thank you.
nhedMemberThis is the code I'm using to add the native WP search to the header, but I don't like the results I've seen from this search function, so am looking at Better Search as a solution.
Here's the code for the native WP search:
add_filter( 'wp_nav_menu_items', 'theme_menu_extras', 10, 2 ); /** * Filter menu items, appending either a search form or today's date. * * @param string $menu HTML string of list items. * @param stdClass $args Menu arguments. * * @return string Amended HTML string of list items. */ function theme_menu_extras( $menu, $args ) { //* Change 'primary' to 'secondary' to add extras to the secondary navigation menu if ( 'primary' !== $args->theme_location ) return $menu; //* Uncomment this block to add a search form to the navigation menu ob_start(); get_search_form(); $search = ob_get_clean(); $menu .= '<li class="right search">' . $search . '</li>'; //* Uncomment this block to add the date to the navigation menu /* $menu .= '<li class="right date">' . date_i18n( get_option( 'date_format' ) ) . '</li>'; */ return $menu; }
nhedMemberThank you whoever you are that removed the spam from this thread. I appreciate it.
Does anyone have any ideas about my question above?
Thanks.
nhedMemberWhat can we do here when we encounter spam? Can someone help with this? The above reply is totally out of line.
nhedMemberHow can I add a line break before the "Read more..." link so that this link is always on it's own line? Any suggestions?
August 24, 2015 at 7:12 am in reply to: How to move title under image in Genesis Featured Post widget #163292nhedMemberOK. I got it working. Thanks.
nhedMemberThank you Brad. I have to study the options but the Ninja Forms look like what I'll go with. Thanks for helping to point me in the right direction! I appreciate it. All the best to you and yours.
nhedMemberCan someone point me to an article or tutorial that clearly explains how to target classes and IDs? It looks to me that I'm doing it wrong in the code above because I have the same code for an html tag as I do for a class. Is that right? Thanks for the help.
nhedMemberThank you everyone. I got it working. I appreciate the help. Over and out.
nhedMemberIs it necessary that I put the div in the code I'm using? Just looking at it now, I'm not sure.
nhedMemberHey, Pixel Lady. Thank you for your reply.
Sorry. I have been having trouble with posting pics here. I think I got that figured out now. 🙂
In the meantime, I happened to discover and am using this css to target the wrap where the padding is that I needed to change.
/* footer widget style */ div.footer-widgets div.wrap { padding-bottom: 10px; padding-top: 40px; }
Here's an updated screenshot of the Firebug info. Please let me know if this is right? It seems to work. I want to be sure that I don't unintentionally change something else on the site.
I'm starting to get the hang of css, but it's still complicated for me. I intuitively can eventually figure things out, but I don't really understand it all yet. 🙂 I guess that's par for the course.
Thanks for your comments and for chipping in and helping others.
All the best,
EdnhedMemberOK. Thank you Victor. Once again you have saved the day and I owe you one... A coconut water on the beach next time you are in the neighborhood!
And for others, I'm going to share what my FrontPage2 looks like now and the settings and css and html that I'm using in order to get it. OK. So here goes.
First the Genesis Featured Post settings are found here:
The actual settings that I used are here:
The page looks like this:
So as you can see, the Genesis Featured Post Widget is displaying the three latest posts. Each post is using the featured image. Then it is showing the Title of the post as a link. It also show the page excerpt and includes a hyperlink with "Read more...".
Here's the code I included in the excerpt:
If anyone is interested in the css and html I used, just let me know and I'll post it too.
Thank you everyone who has helped me find my way. I appreciate it.
All the best,
EdnhedMembernhedMemberVictor,
Am I correct in assuming that because I didn't add any css, that the css code is already included in my theme because it's a newer one and comes already with that css?
nhedMemberVictor, you are the man. I knew there had to be some way to do this.
Thank you. Just want I needed.
Thanks once again!
All the best,
Ed
July 31, 2015 at 3:13 am in reply to: How to add css style to text widget on FrontPage of Altitude Pro theme #161033nhedMemberOK. After a lot of experimenting and searching, here's what I came up with. I'm sharing this in case it helps someone else.
This tutorial was the key for me to figure out how to change the style of my widgets.
And this is the code that I added just in case it's a help to someone:
#text-38 h3 { font-size: 32px; font-weight: 500; } #featured-post-3 { border: 0 solid #909090; margin-bottom: 0; padding-bottom: 0; min-height: 490px; max-height: 490px; } #featured-post-3 h2 { font-size: 24px; text-align: left; } #featured-post-3 p { font-size: 20px; text-align: left; line-height: 1.2; margin-bottom: 0; } #featured-post-3 .entry-header { padding-top: 0; }
OK. Over and out for now. Thanks for the help. And...
All the very best.
EdJuly 28, 2015 at 2:58 am in reply to: How to add css style to text widget on FrontPage of Altitude Pro theme #160698nhedMemberSorry, the image above is the wrong one. This is the correct image. My bad.
July 28, 2015 at 2:03 am in reply to: How to add css style to text widget on FrontPage of Altitude Pro theme #160696nhedMemberOK. I added the following code to my style.css theme file:
.front-page-2 { font-size: 24px; text-align: left; padding-bottom: 0px; padding-top: 0px; line-height: 1.2; }
However nothing changed.
When I make the change to this part of my css code found at line 1362 approximately, the font in the title of my article is changed from 30px to 24p but the changes are not limited to my FrontPage2 text widgets.
Any suggestions?
Thank you very much.
EdJuly 28, 2015 at 12:54 am in reply to: How to add css style to text widget on FrontPage of Altitude Pro theme #160691nhedMemberHey Frank. Thanks. I'll post my results as soon as I try this later today. I super appreciate it.
I really do. Thank you.
All the best,
Ed
July 27, 2015 at 3:06 pm in reply to: How to move title under image in Genesis Featured Post widget #160624nhedMemberI'm going to start a new topic and rephrase the question and see if I can get the help I need. Thank you all who have answered or tried to answer. I really appreciate the help.
All the best,
Ed -
AuthorPosts