John

Forum Replies Created

Viewing 15 posts - 91 through 105 (of 253 total)
  • Author
    Posts
  • in reply to: Homepage Image Using Mimimum #49374

    John
    Participant
    Post count: 157

    Or do you have a cache plugin that needs to be purged or flushed?


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Homepage Image Using Mimimum #49373

    John
    Participant
    Post count: 157

    That sounds right, but what about above those directories? Any chance you were using a subdomain for a development site? I know from experience that it’s possible to upload the right file to the wrong place, or the wrong file to the right place, and then wonder why nothing changed on the site.


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Education Theme-Logo & Menu not responsive #49367

    John
    Participant
    Post count: 157

    Yep, Firebug is one way, and probably the best way, to do that.

    Yeah, I noticed that too. It wouldn’t hurt to downsize that logo.


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Homepage Image Using Mimimum #49366

    John
    Participant
    Post count: 157

    Hmm, that is weird. Silly question, are you sure you’re uploading to the correct directory on your server?


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Education Theme-Logo & Menu not responsive #49357

    John
    Participant
    Post count: 157

    Right on. In the blog post I included a link to a site using the Education theme. If you follow through with the changes on your site you could then compare the style.css files to see what further edits you’d need to make to finish the process for your theme.

    It does take some work and think-time, but the end result is worth it.


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Executive Header Help #49356

    John
    Participant
    Post count: 157

    Now you’re talking! The HTML has lots of selectors that never actually get used by the CSS, but they are there and available if you need them.

    So in this case, the class .menu-main-navigation-container did exist and does exist in the HTML. You didn’t create the class when you added it to your CSS – you only targeted what was already there and then added a rule to style the class. CSS doesn’t create selectors (classes, IDs, or otherwise), it can only target them.

    RE browser defaults, they are there and they’re different for every browser, unfortunately, but they are pretty much irrelevant to this particular question / topic.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Education Theme-Logo & Menu not responsive #49352

    John
    Participant
    Post count: 157

    Can you provide a link to your site?


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Executive Header Help #49350

    John
    Participant
    Post count: 157

    Tracy,

    Check out this screenshot of your website in Firefox with Firebug open and the class selector underlined in red: http://db.tt/vGZNBBlm

    The HTML structure of your site is in the left pane, and the CSS is in the right pane. Just because there isn’t a CSS rule in your style.css file doesn’t mean there isn’t a class, ID or other selector available in the HTML that you can target with CSS.

    So for your site in question, I just located the DIV that contains the menu, saw that it had a class of .menu-main-navigation-container, and created a new CSS rule for that class.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Homepage Image Using Mimimum #49342

    John
    Participant
    Post count: 157

    Got it. So is that the actual functions.php file you’re using on your site at this moment? The only change from the default appears to be the link tag on the featured image. I’m wondering if any other edits have an effect on the site?

    For example, duplicate the image and call it featured-image.jpg, upload it to the theme’s images directory, and edit that line in the code so it uses the new image instead of sample.jpg, then see if it uses the new image on the site.

    Another possibility – what are you using for an FTP client? The functions.php file you sent has an extra line added after every other line. I ran into this once with Filezilla, and I think the fix was to go to Settings > Transfers > File Types and make sure it was set to Binary.


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Homepage Image Using Mimimum #49332

    John
    Participant
    Post count: 157

    Let’s try something different. Why don’t you send me the actual functions.php file using my Filedrop at this address: http://blackhillswebworks.com/client-filedrop/

    Then I can check it out using my text editor…


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Executive Header Help #49325

    John
    Participant
    Post count: 157

    Tracy,

    Looks like my suggestions for the menu weren’t complete…

    I’d do this too so that it’s fully visible on smaller devices:

    
    #header {height: auto;} /* or comment out the height in line 193 */
    
    #header ul.menu {margin-top: 30px;} /* line 202 */
    
    #header .menu a {margin: 5px auto;} /* line 309 */
    

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Responsive Header for Metro (no plug-in) #49324

    John
    Participant
    Post count: 157

    Doug, here’s a better way: How to replace the StudioPress background header image with a real image logo

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Logo link in Executive Theme #49320

    John
    Participant
    Post count: 157

    Hi Ted,

    All you’re changing is the functions.php and style.css files in your child theme, which you’ve probably already edited anyway for other changes you’ve made to your site. If those two files are updated in a future child theme update then you’d have to merge any changes you’ve made along the way. Fortunately, that doesn’t happen very often with StudioPress themes.

    Updating Genesis doesn’t affect your child theme so you’d be okay there.

    I haven’t tried this yet with Genesis 2.0 but Marc, another commenter on that blog post, said he’s going to give it a try this weekend and see what happens.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Homepage Image Using Mimimum #49306

    John
    Participant
    Post count: 157

    I don’t know what to say – I added the link to your HTML using Firebug and it worked. I also tried it on my own site that is also running the Minimum theme, and the image was linked there.

    Sounds like there’s something interfering with your functions.php file. Are you able to make other changes to functions.php and they take effect?


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Homepage Image Using Mimimum #49268

    John
    Participant
    Post count: 157

    If, for example, you wanted to link to your About page, this is the code you would use in the minimum_featured_image function:

    
    <div id="featured-image"><a href="/about-me"><img src="'. get_stylesheet_directory_uri() . '/images/sample.jpg" /></a></div>
    

    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    • This reply was modified 1 year, 1 month ago by  John. Reason: code clean-up
    • This reply was modified 1 year, 1 month ago by  John. Reason: code clean-up
Viewing 15 posts - 91 through 105 (of 253 total)