• 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

Twitter link and menu section in the Education theme

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

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Twitter link and menu section in the Education theme

This topic is: resolved
  • This topic has 9 replies, 2 voices, and was last updated 12 years, 8 months ago by rfmeier.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • July 2, 2013 at 7:46 am #48817
    Will
    Member

    I have a really small issue but I can't see where I'm going wrong....

    Using the above theme I'm creating http://www.ecams-congress.com. The main thing that has me stumped is the primary menu section.

    I have set up a similar site with the Twitter link showing in the right of the menu area. Now it seems I can only do this if I have the menu there as well (I'm using a custom menu in the header area). I'm sure there's a simple code snippet to remove the menu but leave the Twitter link in place but the only one I found removed both at once.

    Would appreciate any help you can give.

    Many thanks,
    Will

    http://www.ecams-congress.com
    July 2, 2013 at 9:26 am #48832
    rfmeier
    Member

    Hello,

    The Primary Navigation Extras twitter, rss, or searchform is actually just an additional menu item with the .alignleft class. It is exclusive to the Primary Navigation menu.

    A custom twitter link could probably be added in the same area with code or using the Genesis Simple Hooks plugin. Possibly some additonal css for styling.


    Ryan Meier – Twitter

    July 3, 2013 at 7:35 am #48956
    Will
    Member

    Thanks Ryan, I'll try to use that plug and see what I can achieve.

    It's just frustrating as I somehow managed to do this 6 months ago when I built the Spanish language version of the site (http://www.ecams-conference.com/) but that was the first site I built so was juggling so many things that I can't remember where I found the code snippet or how I did it there (without using any of your work around above as I didn't use that plug in and didn't have any particular coding skills - still don't!)

    I've tried copying the function.php file (as the 2 should be effectively the same site) but this didn't have any effect. So can't figure where I go a snippet or code to do this (it is definitely the standard twitter link from the theme and not an externally coded section).

    July 3, 2013 at 8:26 am #48962
    rfmeier
    Member

    From what I can tell on the Spanish version of the site, the Primary menu is empty of elements (or menu items), so the Twitter link can sit there by itself.


    Ryan Meier – Twitter

    July 3, 2013 at 8:55 am #48967
    Will
    Member

    Thanks Ryan, couldn't get it to work exactly like that (it wouldn'tshow up without something I the menu) so have added another link to the Spanish language site that will be visible above the fold (not a bad idea in itself anyway!) instead of a full menu and that's done the trick.

    I'm happy with that.

    I do have one more issue if you're feeling both clever and generous.... I had loaded up the Genesis Simple hooks to see if I could do as you said previously. To get familiar I just tried adding a simple test code to see what would be visible where, so I could figure out which area to work on for a solution.

    I simply added the code:
    span style="color: rgb(204, 204, 204);">Test</span

    My assumption was I'd see where the word test popped up and know what I was dealing with.

    I think I added it to the genesis_after_header Hook area and (as you can see at ) it's added something to the menu area which is pushing it over further to the left. Now I can't undo it (I've clicked reset in the plug in and have tried uninstalling etc). Do you have any idea how to fix or at least where the plug in would have entered that code so I can go in manually and remove it?

    Thanks so much
    Will

    July 3, 2013 at 9:46 am #48981
    rfmeier
    Member

    Is is still there? I don't see it. Are you using a caching plugin?


    Ryan Meier – Twitter

    July 3, 2013 at 10:07 am #48988
    Will
    Member

    That's strange. I've tried it in 3 browsers and always the same. You see how there is a blank grey section on the right end of the menu in the header which pushes it along so it covers part of the word Barcelona in the head banner?

    having said that, I tried it on my tablet and it doesn't look the same (but then I'm using the responsive header plug in so this probably changes that aspect - in terms of its relation to the header image)

    July 3, 2013 at 10:23 am #48997
    rfmeier
    Member

    Okay, I see the odd display now. I was looking lower. When you said genesis_after_header hook, I automatically looked after the header in the html.

    That gray area is from the header widget area being too large and the menu floating left.

    https://www.diigo.com/item/image/40chg/pv23

    The widget before was 740px. With Chrome, I adjusted it to 540px.

    /* line ~225 */
    #header .widget-area {
    	float: right;
    	min-height: 95px;
    	padding: 80px 0 0 0;
    	position: relative;
    	width: 540px; /* adjusted to 540px */
    }

    But this doesn't exactly resolve the problem. A static width prevents adding additional menu elements to the menu.


    Ryan Meier – Twitter

    July 3, 2013 at 10:46 am #49006
    Will
    Member

    That's no problem, I don't think we'll need more items in the menu (or if we do, they can be drop down items instead of joining the main visible menu). And if it was needed, I guess I can save this thread and use it to go back in and change the max width to suit at that time?

    That's perfect. Thanks so much for all your help Ryan. I'm a conference organiser and not a web designer so it means so much to be able to sort these things out before my client notices and asks any questions I can't answer. Very much appreciated!

    July 3, 2013 at 10:48 am #49007
    rfmeier
    Member

    You are welcome. Good luck.


    Ryan Meier – Twitter

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

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