Forum Replies Created
-
AuthorPosts
-
GinaMember
z-index! For some reason I didn't think of the z-index. I had been trying fixed position, top and left 0 with width 100% but the z-index made all of the difference 🙂 Of course I used .before-header rather than .below-header but otherwise this worked like a charm! Thanks so much!!!
GinaMemberThank you for responding. I'm sorry but no that's not what I am trying to do. If you take a look at my link I provided the Before Header Widget Area has a bunch of stuff...social icons, request an appointment button, and a custom menu. I need to make that whole widget area sticky. So yes I need that area to stick to the top of the screen even as the user scrolls down but I'm not sure I can tie that particular tutorial to my need.
I have the following functions in place to create the Before Header Widget Area:
//* Register before header widget area genesis_register_sidebar( array( 'id' => 'before-header', 'name' => __( 'Before Header', 'digital' ), 'description' => __( 'This is the before header widget area.', 'digital' ), ) ); //* Hook before header widget area before site header add_action( 'genesis_before_header', 'bg_before_header_widget_area' ); function bg_before_header_widget_area() { genesis_widget_area( 'before-header', array( 'before' => '<div class="before-header widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); }
GinaMemberThank you. Won't I have to keep updating the wp-includes/meta.php file every time I update wordpress if I do it this way? I have way too many wp sites to worry about customized core files. Any other ideas?
GinaMemberSo then just don't show feature images but do show page content. If the page content is images, it will display 🙂
GinaMemberThat's a widgeted section. Why not just add Genesis Featured Posts widget to that section, choose the category, the number of posts you want to show, show featured image, Content Type - No Content (unless you do want to show content). There's actually a bunch you can do since it is a widgeted section.
GinaMemberAhhh more info is going to be necessary to help you. What exactly is it you are trying to accomplish in the front-page-1 section? One of the easiest ways to hook something in is via the Genesis Simple Hooks plugin for what it's worth but I could offer more specific advice if I knew what you were doing.
September 8, 2015 at 1:35 pm in reply to: Centering banner image in simple hooks Magazine theme #164954GinaMemberWith the little info we have, just a quick note, a div id starts with # ... so #slidehook. A div class is .slidehook. I also think you may want to have margin: 0 auto is thead of margin: auto 0 but not sure without seeing exactly what you are trying to accomplish. You can also try, text-align: center;
September 8, 2015 at 1:27 pm in reply to: Centering banner image in simple hooks Magazine theme #164953GinaMemberYou need to provide a link to the site.
GinaMemberMy guess is this is either a problem with a TinyMCE plugin (like TinyMCE Advanced) or with your third party theme. Did you delete your cache after disabling the plugins and did you disable ALL plugins? If yes then check with your third party theme support to see if others are having this problem. It really helps to work with themes built to work with Genesis!
GinaMemberHoly guacamole I cannot believe it was that. WTH? I don't know how those would be unchecked. Never unchecked them. Feeling silly but so grateful!!! Thank you. I thought I was going crazy!
GinaMemberIt's like going to the doctor, once you finally do you feel better...lol. I figured it out after submitting this. I have been trying to figure this out for a while. I had forgotten to close a strong tag in the header! UGH! Problem solved. Leaving this up in case someone else does something silly like this 🙂
GinaMemberThanks. I couldn't figure it out so I just put a plugin in place - Post Types Order plugin. I appreciate you trying to help.
GinaMemberSo I figured out it's a plugin we have in place...User Role Editor. Although I have tried expanding user roles to work this problem out, so far nothing has worked so I'm writing to the plugin forum and hoping someone can help me.
February 27, 2015 at 4:33 pm in reply to: How to change the width that the primary nav changes to a responsive nav #142597GinaMemberI really appreciate your help.
I want the primary nav to change to the responsive toggle bar nav at a wider width than it does now so when on a tablet you see the toggle bar nav.
Capiche?
February 27, 2015 at 4:17 pm in reply to: How to change the width that the primary nav changes to a responsive nav #142593GinaMemberThank you 🙂
Yes I know the nav is already mobile responsive.
What I’m trying to do is make it change sooner than it does (larger) so when on a smaller screen the last 2 menu items don’t flow down to a second line…and the menu changes to the responsive nav bar instead.
For instance, on a tablet we don't like that the last 2 menu items flow down to the second line.
February 24, 2015 at 9:14 am in reply to: Adding a custom body class to several category archives #142022GinaMemberSo it's been pointed out that I don't have the category names in quotes. Once I did that it fixed the problem.
/* add a custom body class */ add_action( 'body_class', 'ilwp_add_my_bodyclass'); function ilwp_add_my_bodyclass( $classes ) { if ( is_category( array('parish-plan','residential-emergency-planning','business-emergency-planning','evacuation-guidelines') ) ) $classes[] = 'hsep'; return $classes; }
February 24, 2015 at 9:11 am in reply to: Custom body class for specific categories and archives #142021GinaMemberThank you so much! I have definitely looked at this too long and was not seeing the obvious. That took care of my problem.
My problem was, Latest News & Upcoming Events were NOT supposed to have the hsep body tag.
I really appreciate your time looking at this!!!!!!
February 23, 2015 at 6:49 pm in reply to: Adding a custom body class to several category archives #141954GinaMemberI got it from ilikewp.com/how-to-add-a-custom-body-class
February 23, 2015 at 6:47 pm in reply to: Adding a custom body class to several category archives #141950GinaMemberHere is the code as requested:
/* add a custom body class */ add_action( 'body_class', 'ilwp_add_my_bodyclass'); function ilwp_add_my_bodyclass( $classes ) { if ( is_category( array(parish-plan,residential-emergency-planning,business-emergency-planning,evacuation-guidelines) ) ) $classes[] = 'hsep'; return $classes; }
The link where I got it from will not post for some reason. It was in an article titled "How To Add a Custom Body Class" on the I Like WordPress blog.
February 23, 2015 at 6:46 pm in reply to: Adding a custom body class to several category archives #141949GinaMemberWell since that one displays I will try this again...
Thank you for your reply! This is where I found the code: http://ilikewp.com/how-to-add-a-custom-body-class/
Here is the code as requested sorry about that:
/* add a custom body class */ add_action( 'body_class', 'ilwp_add_my_bodyclass'); function ilwp_add_my_bodyclass( $classes ) { if ( is_category( array(parish-plan,residential-emergency-planning,business-emergency-planning,evacuation-guidelines) ) ) $classes[] = 'hsep'; return $classes; }
-
AuthorPosts