This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: 

Can't mod child theme css

  • Creator
    Topic
  • #8556
    jessie cross
    Member

    Hey there,

    Question. Got Jump Start up and running perfectly. Trying to mod out a child theme, but every time I make a change, the css is getting ?ver=3.5.1 appended to it. None of my changes display.

    I have caching turned off and am definitely updating the correct file. Any ideas?

    Many thanks for the gorgeous theme. Love it!

    Jessie

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #8557
    Jason Bobich
    Keymaster

    Hello,

    This ?ver=3.5.1 shouldn’t effect anything. It’s WordPress tagging on a default version when one isn’t specified for an enqueued stylesheet. But it’s irrelevant, really. Whatever your issue is would be something different. Can I see a link to what you’re doing? Maybe there’s something else I can spot?

    #8558
    jessie cross
    Member

    Hey Jason,

    Thanks so much for the speedy response! You have no idea how much I appreciate it!

    OK, when I push a new css file, you can see it at style.css, but when you look at style.css?ver=3.5.1 you see the old css. and since the theme is asking for ver 3.5.1, my new styles aren’t showing.

    I’m using Theme Test Drive to test my mods before pushing them live, if that makes a difference.

    Many thanks again,
    Jessie

    #8561
    Jason Bobich
    Keymaster

    This sounds like some sort of caching issue with however you’re pushing these files or viewing them in your browser. Every asset, javascript and CSS file, included through WordPress has a version number tagged onto it. Just view the source of your site, and check it out.

    So, to determine this as the fix for your issue I don’t think is really acceptable, you know? This would mean you can’t edit any assets of your WP install and have the changes show up. In other words, you need to double check your server environment or something maybe you’re doing in your web browser.

    Are you clearing your browser cache after making the updates and viewing them? Are you sure style.css and style.css?ver=3.5.1 are actually different after the browser cache is cleared? I don’t like to say something isn’t possible because I run into new weird things every day; so I’ll say I’ve never seen this before outside of basic browser caching.

    And if it is theoretically true that from the server style.css and style.css?ver=3.5.1 are different, I’d say it’s some sort of odd behavior with this Theme Test Drive plugin. You may want to consider setting up a true local testing environment for your development, and then pushing to the live server.

    #8562
    jessie cross
    Member

    Hey thanks again for the reply! Here’s an example of the 2 different css files.

    http://www.thehungrymouse.com/wp-content/themes/jumpstart-child/style.css?ver=3.5.1

    http://www.thehungrymouse.com/wp-content/themes/jumpstart-child/style.css

    Definitely clearing all caches. Checked, and my host doesn’t do any tricky caching stuff. And I turned off my cache plugin. It’s making both me and my dev think we’re totally crazy.

    Any ideas you have would be greatly appreciated! Many thanks again for the gorgeous theme. Can’t wait to get it all shipshape.

    Jessie

    #8563
    Jason Bobich
    Keymaster

    Yeah, both of these links are identical when I look at them. This means it’s your browser cache 😉

    http://www.uploadblvd.com/uploads/image_51a1336d79ca4.png

    http://www.uploadblvd.com/uploads/image_51a1337cb9733.png

    #8564
    Jason Bobich
    Keymaster

    I think may have discovered where your issue is coming from. You don’t have any Child theme activated. You’re editing this jumpstart-child’s style.css, but you don’t have that theme activated.

    Also it looks like you started by making a couple edits to style.css of the Jump Start Parent theme. So, you should put Jump Start back to its default state. Then go to Appearance > Themes, and activate your Child theme.

    This would also make sense if you were using that Theme Test Drive plugin, and you were putting in jumpstart, opposed to your Child theme, maybe?

    #8579
    jessie cross
    Member

    I have a feeling that the Test Drive might be messing the whole thing up…you wouldn’t be able to see that on your end b/c you’re not logged in as an admin. Ooof. Let me try a live build and see if that helps.

    Many thanks for all your responses! So totally appreciate it! You have no idea…

    Hey, can I ask you two unrelated questions, about photos?

    How do I get my homepage slideshow images to be the right size? Not sure what size to upload for the featured image. If you look at http://www.thehungrymouse.com you’ll see what I mean. They’re all cropped wrong.

    Also, is there a universal setting to get the featured image to NOT display in the body of the post? Or do I have to do it post by post? I went through the theme doc and didn’t see anything.

    Many thanks again!
    Jessie

    #8616
    Jason Bobich
    Keymaster

    How do I get my homepage slideshow images to be the right size?

    When you upload an image, it needs to be at least the size of the registered crop sizes, or WordPress can’t make the crop.

    Crop sizes are listed here:

    http://dev.themeblvd.com/tutorial/crop-sizes/

    Also, is there a universal setting to get the featured image to NOT display in the body of the post? Or do I have to do it post by post?

    WP Admin > Appearance > Theme Options > Single Posts > Show featured images at top of posts?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.