• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Hashim

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 30 total)
1 2 →
  • Author
    Posts
  • September 10, 2016 at 2:46 pm in reply to: Add tagline to Digital Pro #192963
    Hashim
    Member

    I'm going to close this topic because my main problem is solved. And I'll open a new topic for the new problem.

    Thank you once again!

    September 10, 2016 at 12:45 pm in reply to: Add tagline to Digital Pro #192956
    Hashim
    Member

    Found it! But unfortunately a new problem occurred while making this change.

    I found the code responsible for hiding the site description. It's text-indent. It was set to -9999 or so. That changed the position of the text way out of the screen so it doesn't show.

    I've set the text-indent to zero. And the description showed again. It was too close to the content area so I've edited the padding of the header area to push the content are down.

    All seemed well. Until I checked out the website on my mobile device...

    The site description is showing on top of the navigation menu. On mobile devices the navigation menu changes in the hamburger icon. And the site description is showing right through the hamburger icon.

    Does anyone know how to make the site description show in such a way that it stays above the navigation menu on mobile devices?

    And thank you very much for your input, Victor Font! I really appreciate it!

    Sincerely,

    Hashim Naushahi

    November 5, 2015 at 11:07 am in reply to: Urgently need help for an active launch! #170233
    Hashim
    Member

    Never mind! Solved it!

    I just enabled comments for pages in the genesis theme settings and then disabled the comments manually for every other page. It got the job done! 🙂

    October 28, 2015 at 7:54 am in reply to: Best theme for an oline course #169348
    Hashim
    Member

    Hi Eamon,

    This looks great!

    It seems that this theme is tailor made for LearnDash. But I guess it would great with every membership our lms plugin.

    Thanks for sharing this option with me! I'd still like to see some more ideas of others in this community before I decide. You never know what you can learn from other people. And I'm your typical eternal student. 😉

    Thank you for this Eamon!

    Sincerely,

    Hashim

    August 4, 2015 at 4:06 pm in reply to: Repositioning navigation menu #161437
    Hashim
    Member

    Hi Christoph,

    Thank you for your suggestion! It worked perfectly!

    After giving it a try, I decided not to keep the secondary navigation because of the space it takes. But it's nice knowing how I can do this in the future.

    Christoph, you've been a great help! Thanks a lot for spending your precious time helping me with yet another step closer to my goal. I wish you all the best!

    Sincerely,

    Hashim

    August 3, 2015 at 6:05 pm in reply to: Repositioning navigation menu #161335
    Hashim
    Member

    Dear Christoph,

    You're amazing!!!

    It worked!

    You can see it on this page: http://hashimnaushahi.com/qasas

    I now have the second navigation menu right underneath the header. How did you know that the size of the margin should've been 70px? I was searching for the vertical size of the header area but I couldn't find it.

    I've been able to make the adjustments in the media query and I've tested my website on my mobile device. And the secondary navigation shows beautifully underneath the header without any white space in between.

    Christoph, you've been a great help! Thank you very much!

    There's one final question I'd like to ask you concerning the secondary navigation. And I hope you're willing to help me find the answer to it.

    Do you know how I can fix the position of the secondary navigation underneath the header even while scrolling? That's my last wish for the positioning of my navigation.

    Thank you in advance!

    Sincerely,

    Hashim

    August 3, 2015 at 3:06 pm in reply to: Repositioning navigation menu #161319
    Hashim
    Member

    Hi Christoph,

    I've got just two final questions to get a total understanding of what you shared with me. Not only to reach my desired goal, but also for my learning process so I can apply this knowledge in similar situations in the future. I hope you're still willing to help me with the answer.

    When you say that when I move the secondary navigation to the genesis_after_header hook it will be positioned at the very top of the page, do you mean it will be all the way at the top like the header so that you can't see the secondary navigation anymore because it's basically behind the header or do you mean at the top op of the page right underneath the header so that it is visible?

    And if I do want to use the genesis_after_header hook, how should I change the existing code in the function.php file that is basically telling to remove the secondary navigation from that hook and position it somewhere else?

    Your answers would be really helpful to me. Thank you in advance!

    Sincerely,

    Hashim

    August 3, 2015 at 11:28 am in reply to: Repositioning navigation menu #161301
    Hashim
    Member

    Hi Christoph,

    First of all, my apologies for the misunderstanding! I've totally misread and misunderstood the situation. And I think that my question was formulated entirely wrong because of that. Sorry for the loss of your precious time in this matter.

    Basically what I'm looking for is to have my Secondary Navigation positioned right beneath the header without any margin or white space between the header and with the same width as the header which is full-width. I don't know what would hook would be wiser to use to have the Secondary Navigation in that position and keep it there on mobile devices.

    From what I understand right now from your last comment is that it's easier or less work to use the genesis_before_content_sidebar_wrap hook than it would be with the after_header hook. Is this correct?

    I tried Genesis Visual Hook Guide to understand the theme a bit better and I think I understand now where the white space is coming from in the before content hook.

    Thank you for your kindness!

    Sincerely,

    Hashim

    August 3, 2015 at 9:26 am in reply to: Repositioning navigation menu #161273
    Hashim
    Member

    Hi Christoph,

    You're saying I can use that hook? How?

    I mean...

    1. How would I adjust the code in my functions.php file in the existing code for the repositioning of the secondary navigation so that it's positioned after the header?

    2. And how come I can't see the secondary navigation after I tried to remove or adjust the code to position it after the header?

    Without seeing it, I don't know if it's there and I also can't use Firebug to find the css I need to change.

    Your reply really made me curious and it gives me hope that it's still possible to show the secondary navigation after the header! 🙂

    I'm looking forward to your reply!

    Sincerely,

    Hashim

    PS Thank you for the time and effort you're putting into this!

    August 3, 2015 at 9:01 am in reply to: Repositioning navigation menu #161264
    Hashim
    Member

    Hi Christoph,

    Thank you for your suggestion! I'll try to adjust the css. Basically it's removing the margin between the above content area and after header area and adjusting the width of the above content are, right?

    The one thing I don't understand is how come it's not possible to use the after header location again. Do you know what might be the cause of that?

    Thank you in advance! I'l try to adjust the css and I'll you know how that goes. 🙂

    Sincerely,

    Hashim

    August 3, 2015 at 8:28 am in reply to: Repositioning navigation menu #161249
    Hashim
    Member

    Hi Christoph,

    Thank you so much for trying to help!

    Unfortunately it didn't come out the way we expected. I replaced the code exactly the way you suggested. And I also believed it would work because the position before the content and after the header are almost the same. You can see a screenshot over here with the result:

    https://www.evernote.com/shard/s281/sh/d14e7ece-01c5-40b6-a5d4-1dfbce0c9ff4/b4c088d2c1d0258782349ac7284eb698

    There's this white space between the header and the menu. Probably because of the position we used for this. Before content and after header seems to be two different locations.

    In my logic removing the entire piece of code would result in bringing the secondary navigation back to its original position after the header. But I found it doesn't work that way. Because when I remove the code to reposition the secondary navigation, the secondary navigation disappears altogether.

    Once again, thank you for your effort Christoph and I do hope you come up with another suggestion. 🙂

    Sincerely,

    Hashim

    August 2, 2015 at 8:26 am in reply to: Change the width of the search bar on small screen sizes #161166
    Hashim
    Member

    Thank you @JanHoek for your suggestion. I'm now using a different theme so this is no longer an issue. But I do appreciate your willingness to help. 🙂

    Sincerely,

    Hashim

    August 2, 2015 at 8:24 am in reply to: Header image logo not crisp on small screen size #161165
    Hashim
    Member

    Hi Susan,

    It's been a while!

    I couldn't solve this issue. But I'm using a different theme now and I'm not experiencing this problem anymore.

    Thank you for reminding me to close this topic. 🙂

    Sincerely,

    Hashim

    April 25, 2015 at 10:05 am in reply to: Can't find location of h2 span #149140
    Hashim
    Member

    Hi everyone,

    Found it!

    She just added the span in the text editor using html. Removed it!

    Thank you!

    January 18, 2015 at 2:13 pm in reply to: Custom Sidebar for the Homepage #137876
    Hashim
    Member

    It worked!

    Not only do I have all the sidebars shown exactly where I want them, I also learned how to do this thanks to all of your contributions.

    This is what I made of it eventually:

    //*Register custom sidebars
    genesis_register_sidebar( array(
    'id' => 'about-sidebar',
    'name' => __( 'About Page Sidebar' ),
    'description' => __( 'Sidebar for the About page.' ),
    ) );

    genesis_register_sidebar( array(
    'id' => 'single-post-sidebar',
    'name' => __( 'Single Posts Sidebar' ),
    'description' => __( 'Sidebar for single posts.' ),
    ) );

    //* Do custom sidebars
    add_action( 'genesis_sidebar', 'custom_sidebars_output', 0 );
    function custom_sidebars_output() {

    if ( is_page( 'about' ) ) {
    dynamic_sidebar( 'about-sidebar' );
    remove_action( 'genesis_sidebar', 'genesis_do_sidebar' );
    }

    if ( is_singular('post') ) {
    dynamic_sidebar( 'single-post-sidebar' );
    remove_action( 'genesis_sidebar', 'genesis_do_sidebar' );
    }

    }

    I never wrote code myself. So if you find any bad practices in this code please feel free to comment.

    Thank you once again all of you! And I wish you all the best for this year and all the years to follow!

    Sincerely,

    Hashim

    PS I don't know how to show the code I've used in such nice fields like you did, so I just copied and pasted it. Hope you don't mind.

    January 18, 2015 at 1:32 pm in reply to: Custom Sidebar for the Homepage #137865
    Hashim
    Member

    Hi there,

    Thank you Carlo, Ren and Badlywired! I really appreciate your valuable contributions. It really brings back some joy in these dark times knowing that there are people like you willing to spend their time and energy to help others without expecting anything in return. Thank you very much!


    @CarloManf
    , Thank you for sharing that tutorial. And I'm very curious to your new tutorial which you'll share on your website. I'll add myself to your mailing list and hope to hear soon that you've finished so I can take a look. Thank you in advance!

    @RenVentura, A whole lot of code indeed, but nothing that looks too difficult to follow. Although I don't know any code, I still like to be challenged by facing new things to learn. And adjusting your code to my preferences and making it work helps me learn a lot. So I'll give it a try! Thank you!


    @Badlywired
    , You're absolutely right that it's a lot easier with plugins. And although I prefer to use as little plugins as possible, I'll definitely make use of WidgetLogic when I can't make it work with the code Ren provided. And I just checked out the link you provided about conditional tags. And now I understand the code in the functions.php file a lot better. So thank you for that!

    Time for me to try and fix this. And I'll be sure to keep you posted.

    Sincerely,

    Hashim

    January 14, 2015 at 6:34 pm in reply to: Custom Sidebar for the Homepage #137497
    Hashim
    Member

    Hi Carlo,

    Thank you so much for participating! I'm really grateful for the time and effort you took to try to help me. Also to you, Brad. I know this is a community forum and you're not obliged to help me in any way whatsoever. But you still do in your own free time and that's just amazing!

    Carlo, I'm really good at copying and pasting code. :p Writing code is a bit too much for me at the moment. But that can chance because I'm a fast learner.

    I actually didn't create a function for a custom sidebar. (Or maybe I did without realizing.) I used the plugin Genesis Simple Sidebars. And now I know I forgot to mention that in my first message. Forgive me for the misunderstanding.

    What I actually want is a sidebar on my homepage, a custom sidebar on my about me page and a custom sidebar for my single posts. The problem with the plugin is that you have to select on per page/post basis which sidebar you want. But I'd like all my posts to have the same custom sidebar without going through all my posts and select the right sidebar. So I figured I'd leave the default primary sidebar for my single posts and create a custom sidebar for my homepage. But that's impossible with that plugin.

    Of course, it'd be better if I could create these three custom sidebars without the plugin so I can delete the plugin. But I don't know how to write the code to create these sidebars.

    I hope this gives you better understanding of my problem and my skills (or the lack of it). And I'm looking forward to your reply!

    Sincerely,

    Hashim

    January 13, 2015 at 5:41 pm in reply to: Custom Sidebar for the Homepage #137368
    Hashim
    Member

    Hi Brad,

    Thank you for responding!

    I've checked out the plugin but it seems to be for widgets. Maybe I'm missing something here, because I don't understand how this plugin could solve my problem. If you would be so kind to provide a short explanation, I'll give your solution a go.

    Thank you in advance!

    Sincerely,

    Hashim

    July 16, 2014 at 9:31 am in reply to: Change Shortcode Output #114538
    Hashim
    Member

    Hi Davinder,

    Thank you for your dedication!

    The problem is solved. It seems that Simple Edits was overruling the functions.php file. So I copied the shortcodes from your php code and pasted them in Simple Edits and now everything looks perfect!

    Except for two things..

    The date is still in English. You provided me with a php code but I don't know where to place that. Could you please tell me what to do with the code?

    I managed to make some changes in the texts of the comments and the comments form with the help of code snippets provided in the StudioPress website. But some texts are still unchanged as you can see on my website:

    http://hashimnaushahi.com

    which is using the Generate Pro theme. You can see the texts 'Reply' under the comment and 'at' between the date and the time of the comment. And the texts 'Your email address will not be published. Required fields are marked', 'Name', 'Email', 'Website' an 'Comment' above the fields. And when someone is logged in you see the text 'Logged in as' before the author name followed by 'Log out?' which can also be seen in the footer. Do you know how I can change these texts?

    Thank you in advance!

    Sincerely,

    Hashim Naushahi

    July 14, 2014 at 1:56 am in reply to: Change Shortcode Output #114204
    Hashim
    Member

    Hi Davinder,

    Thank you for your help once again!

    Unfortunately it still didn't work. I changed the texts but without any changes on my website.

    This is what I did:

    //* Customize the post info function
    add_filter( 'genesis_post_info', 'sp_post_info_filter' );
    function sp_post_info_filter($post_info) {
    if ( !is_page() ) {
    $post_info = '[post_date] Door [post_author_posts_link] [post_comments] [post_edit]';
    return $post_info;
    }
    }

    //* Customize the post meta function
    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    if ( !is_page() ) {
    $post_meta = '[post_categories before="Gearchiveerd Onder: "] [post_tags before="Getagd Met: "]';
    return $post_meta;
    }
    }

    Despite these codes and the changed texts in them, the texts on the website remain the same as before.

    Is there any other solution to this?

    Thank you in advance!

    Sincerely,

    Hashim

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 30 total)
1 2 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble