• Resolved Moa

    (@voldeobum)


    Hello,

    I’m helping a friend with her site, and we are using WP’s in-built gallery function to list a row of images. We’re organizing the images manually by adding a number in the “Order” input box, and what I’d like to do is just widen the box by 10px or so, to make room for one more digit.

    The input box width is managed by the .menu_order_input class located in /wp-admin/css/media.css, except changing the width there does absolutely nothing, because the style sheet link in the header goes to some kind of version… thing. It looks like this: wp-admin/css/media.css?ver=20081210

    So, my question is:
    – how do I change this version?

    Alternatively:
    – where do I change the stylesheet link to only /wp-admin/css/media.css? Or add another stylesheet link below this one, so that I can override the .menu_order_input width.

    Grateful for any help or pointers I can get.

Viewing 1 replies (of 1 total)
  • Thread Starter Moa

    (@voldeobum)

    This forum is very… convenient. As soon as I post a question here, I invariably find the answer by myself within a few hours.

    One solution to my problem was to edit the /wp-includes/script-loader.php file. I changed the line
    $styles->add( 'media', '/wp-admin/css/media.css'), array(), '20081210';

    to
    $styles->add( 'media', '/wp-admin/css/media.css');

    and now it’s working. Maybe not the best solution? Perhaps changing the date (?) would’ve worked too? Oh well.

Viewing 1 replies (of 1 total)
  • The topic ‘Editing /wp-admin/css/media.css (2.7)’ is closed to new replies.