• 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

marcsaffar

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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 23, 2022 at 6:58 am in reply to: Sticky menu – nav-primary #505838
    marcsaffar
    Participant

    Hello,
    I did some work since :

    restore default css here :
    .js .nav-primary {
    display: none;
    position: relative;
    }
    and modified this line about 1564 :
    /* Header Menu
    --------------------------------------------- */

    .nav-primary {
    /*marc saffar ajoute*/
    position: -webkit-sticky;
    position: sticky !important;
    top: 0;
    z-index: 15;
    /*fin de l'ajout*/
    background-color: #063B6C;
    padding-left: 30px;/*ajouté par marc saffar*/
    clear: none;
    float: left;/*marc saffar était right*/
    width: 100%;/*marc saffar était auto*/
    }

    It seems to work a little bit better with same problem less often but it is not perfect.

    Also I tested in a previous version of genesis sample and there is no problem at all. They changes some code since but it is not well documented at all.

    Still need help.

    September 22, 2022 at 8:33 am in reply to: Sticky menu – nav-primary #505830
    marcsaffar
    Participant

    Sorry here is the link
    https://uhjfrance.marcsaffar.website/_tc/trial.php?t=63e110e5

    February 23, 2022 at 11:25 am in reply to: Author box : Display Avatar for users without user email #504752
    marcsaffar
    Participant

    Sorry. not getting replies when i subscribe to existing topics.

    Me neither, they should fix it 😉 anyway thanks for your answers.

    And, you can also filter get_avatar and use the pre_get_avatar filter.

    I tried but unsuccessfully. Maybe I did note do correctly do the add_filter…
    .

    And, you can also use add_filter( 'avatar_defaults' to add a default image.

    Thanks but I don't want a default image 😉

    January 31, 2022 at 9:16 am in reply to: Author box : Display Avatar for users without user email #504683
    marcsaffar
    Participant

    Hello Brad,
    Thank you for your answer.

    The problem is I will receive some texts from authors I won't know their emails and it will be long and difficult to get these email adresses.

    Finally I found this in Genesis > structure > post.php
    $gravatar = get_avatar( get_the_author_meta( 'email', $user_id ), $gravatar_size );

    When I change 'email' by 'ID' it works how I want for every users even without email.

    I'd preferred that function would be filterable. Now I have to pay attention in case of future Genesis upgrade.

    January 13, 2022 at 3:23 pm in reply to: Title for a widget area #504665
    marcsaffar
    Participant

    Hello Victor,

    Thanks for that simple and useful idea !
    I should have thought about it 😉

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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