• 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

marybaum

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 9 posts - 161 through 169 (of 169 total)
← 1 2 3 … 7 8 9
  • Author
    Posts
  • January 3, 2013 at 1:08 pm in reply to: Best Way to Learn CSS #9211
    marybaum
    Participant

    Actually, I have not heard such great things about w3schools from the folks whose podcasts I listen to and whose books I read. Apparently they have taught some inaccurate things from time to time.

    I LOVE LOVE LOVE CSS-Tricks from Chris Coyier, and I learned a lot from the book CSS: The Missing Manual.

    And when I'm alone in the car, I'm listening to the Shoptalk Show, from Chris Coyier and Dave Rupert. It's a little advanced, but back last summer when I had reason to be driving through the countryside, it was a way better alternative for me than whatever would have been on the radio in rural Illinois. 😉

    If you own the Adobe Creative Suite, I was actually forced to learn by using Dreamweaver, back in 2007, when they threw Adobe GoLive out and put Dreamweaver in. I write in it to this day.

    Chantal, I, too, am not crazy about Firebug - takes too long to get to the element I'm trying to style. I much prefer the built-in inspectors in Chrome and Firefox - accessible when you hit Cmd (Ctrl) - Opt(Alt) - I. These days, the Chrome inspector actually shows faint gridlines radiating from the element I've selected to a ruler that runs down the top and left of the browser window, so I can be sure I'm inspecting the right thing.

    One thing is critical, though, as you Google around for learning tools: Check the dates. There's a lot of old information out there. I think you don't want to look at much of anything older than 2011, or you'll get the wrong idea about type, particularly. Webfonts are not new and experimental; they're mainstream, and anything you see that tells you you have to stick to the five type families that come on every Windows machines is, at this point, just plain wrong.

    I don't believe you have to use browser prefixes on box shadows and corner radii unless your target audiences are people you know to have old machines and old browsers - federal agencies, the very rich (I am NOT kidding ... ), much of Corporate America (One midsize company I know of actually has ALL WP sites blocked as social media!) ... you get the idea.

    Hope this all helps.

     

    Mary Baum

    http://wpstl-videos.org


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    January 3, 2013 at 11:52 am in reply to: How to use images as secondary navigation? #9203
    marybaum
    Participant

    There is also a CSS-only way to do it if you're willing to ignore Internet Explorer or go to great lengths to offer workarounds like Modernizr and some others. I'm more interested in learning php at the moment, so I started with the geeky stuff first.

    That would be to set up your list items as nth-child block elements, give them background images and set the text to indent way outside the borders:
    ul ul li:nth-child(1) {
    background: url(http://yoursite.com/images/cat.png) top center no-repeat;
    display: inline-block;
    text-indent:-999px;
    }

    ul ul li:nth-child(2) {
    background: url(http://yoursite.com/images/dog.png) top center no-repeat;
    display: inline-block;
    text-indent:-999px;
    }

    ul ul li:nth-child(3) {
    background: url(http://yoursite.com/images/bunny.png) top center no-repeat;
    display: inline-block;
    text-indent:-999px;
    }
    Not that your images are cute, fuzzy animals, but you get the idea. Also, your theme may designate the subnav list items differently, and no doubt you have other properties listed.


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    January 3, 2013 at 11:44 am in reply to: How to use images as secondary navigation? #9200
    marybaum
    Participant

    There is also a CSS-only way to do it if you're willing to ignore Internet Explorer or go to great lengths to offer workarounds like Modernizr and some others. I'm more interested in learning php at the moment, so I started with the geeky stuff first.That would be to set up your list items as nth-child block elements, give them background images and set the text to indent way outside the borders:li


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    January 3, 2013 at 11:44 am in reply to: How to use images as secondary navigation? #9201
    marybaum
    Participant

    There is also a CSS-only way to do it if you're willing to ignore Internet Explorer or go to great lengths to offer workarounds like Modernizr and some others. I'm more interested in learning php at the moment, so I started with the geeky stuff first.

    That would be to set up your list items as nth-child block elements, give them background images and set the text to indent way outside the borders:

    li


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    January 3, 2013 at 11:38 am in reply to: How to use images as secondary navigation? #9199
    marybaum
    Participant

    I haven't used images as navigation in a long time - like, since I learned CSS in 2007. But I would think one way to do it would be to create some plain ol' html markup for the secondary nav that looks like this:

    <ul>

    <li><a href="http://yoursite.com/link1.html"><img src="http://yoursite.com/image1" title="title" blah blah="gobbledygook attributes"/></a></li>

    <li><a href="http://yoursite.com/link2.html"><img src="http://yoursite.com/image2" title="title" blah blah="gobbledygook attributes"/></a></li>

    <li><a href="http://yoursite.com/link3.html"><img src="http://yoursite.com/image3" title="title" blah blah="gobbledygook attributes"/></a></li>

    </ul>

    Where blah blah="gobbledygook attributes" are whatever dimensions, alt text and other attributes you want to stick in there. I've found that stripping the dimensions out of there makes an image shrink down to the size of its containing div if I need to make the div smaller - as in, when I want to make a column class smaller, or in a responsive design.

    What I'm less sure of is what to do with this markup.

    I can imagine three ways to handle it:

    1. as a hook with the Genesis Simple Hooks plugin;

    2. as a text widget - since we can add html markup in the text-widget box - after creating a php file (subnav.php maybe)that creates a widget area in the nav div:

    <?php

    /**Creates a widget area in the subnav div.

    ?><div id="subnav" class="wrap" class="widget-area">
    <?php
    genesis_structural_wrap( 'subnav_wrap' );
    do_action( 'genesis_subnav_wrap_widget_area' );
    genesis_structural_wrap( 'subnav_wrap', 'close');

    ?>

    </div>

    And registering the widget area in functions.php:

    genesis_register_sidebar( array(
    'id' => 'subnav',
    'name' => __( 'subnav, 'yourtheme' ),
    'description' => __( 'This is your new subnav.', 'yourtheme' ),
    ) );

    Or 3. Copying the subnav chunk of the original menu.php -- the action 'genesis_do_subnav' to a new file in your theme and naming that new file subnav.php, then editing that to take out almost all the php and leaving just the html markup with the images as links.

    In the end, that might be the simplest thing.

    Mary Baum


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    January 2, 2013 at 6:40 pm in reply to: Changing One Font in Navigation Link #9080
    marybaum
    Participant

    As I suspected, now that I'm no longer riding in a moving car:

    The original Algerian from 20 years ago is available as a hosted webfont at fonts.com: http://www.fonts.com/search/web-fonts?searchtext=Algerian&SearchIn=web-fonts#product_top

    Don't know of you can access in the free account or need to upgrade to the $10/month account.

    An updated version is is for sale for $35 at Fontspring: https://www.fontspring.com/fonts/fontmesa/algerian-mesa

     

    Mary Baum

    http://wpstl-video.org


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    January 2, 2013 at 10:54 am in reply to: Changing One Font in Navigation Link #8960
    marybaum
    Participant

    Algerian is not. You'll need to find a way to use it with @ font-face; I would be fairly confident you can use it with the free account at fonts.com, which is a great source for moderately old typefaces. If you want to own a desktop copy and upload a webfont-formatted package to your own server, you might find it on Fontspring.com or fontsite.com. If you use fontsite, you'll just be downloading the .otf but you'll have the right to make a font-face kit at fontsquirrel.com or with a desktop converter.

    Whatever you do, please don't just make your kit with a downloaded font from some site like Dafont. The files from sites like those are not necessarily free; a lot are pirated and uploaded. In the case of Algerian, your maximum exposure to buy the font for your site is under $20, so it's well worth it to go legit.

    Hope that helps.

    Mary Baum
    http://wpstl-video.org


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    December 14, 2012 at 12:12 pm in reply to: How to show only blog summary in homepage #5238
    marybaum
    Participant

    In Theme Settings, under the Genesis menu on the Dashboard, there's a checkbox for Content Archives that lets you choose between full content and excerpts. Choose excerpts. I've taken a screenshot, but I need to go look up how to attach it to my reply.

    Mary Baum
    http://marginhancers.com


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    December 3, 2012 at 5:59 pm in reply to: How do I add streaming audio to my homepage? #3161
    marybaum
    Participant

    If I were you I'd think twice about that. When I'm in user mode, nothing drives me away from a site faster than any kind of sound that starts playing as soon as a page loads. Chances are good that I'm either already listening to something else - and now I have two sources of sound going, and I'm madly looking for the pause button on the sound that I didn't start myself (often well hidden) or I don't want to disturb the people around me with surprise sounds coming from my computer.

    So again, I beg you, please don't add sound that plays automatically on load ...

    Mary Baum


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

  • Author
    Posts
Viewing 9 posts - 161 through 169 (of 169 total)
← 1 2 3 … 7 8 9
« Previous Page

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