• Ren

    (@ren)


    Hiya… I am a complete newbie at this (having resorted to using WP after having grown used to an entirely different blogging tool that was recently outlawed by my server). I’ve only just installed WP and getting used to it but PHP completely elludes me, though I do understand CSS for the most part (and after fiddling I can generally work things out the way I want them), so that’s not a problem for me.
    Anyway, all that aside – this layout thingie… I’ve gone and had a look and there’s one or two that I’d like to try to use, only and please, please, PLEASE excuse me for sounding really dumb here, but how do I access the CSS and graphics for the layouts? There’s one in particular I’d like to use (eg, https://www.alexking.org/software/wordpress/styles/sample.php?wpstyle=css_compo) but how do I access the files for it? Am I missing something blatantly obvious?

Viewing 5 replies - 16 through 20 (of 20 total)
  • change the @import to
    @import url( https://themuckaroundsite.com/wp-layout.css );
    in index.php in the muckaround site, and create a copy of wp-layout.css in the muckaround directory.
    ??

    Is there any special reason why we can’t use
    @import url(wp-layout.css)
    if wp-layout is in the same directory as index.php? I thought they were supposed to be in the same directory anyway.

    That should work fine WillM. It isn’t ‘supposed’ to be in the same directory. A lot of people like to put their stylesheets in a seperate folder, so they’d have to use @import ulr(/stylesheet/wp-layout.css).
    If you wanted, you could rename the css whatever you wanted, it’s only at issue if you use the <?php echo $siteurl; ?> in your html, as that relies on wp configs. In that case, if you move things around you can manage to confuse things.
    I’ve taken out php like that and replaced it with just a simple line before. For me, that’s easier, but not everyone feels that way.

    css is preferred to be linked with absolute links coz redirect rulez makes the post to appear in seperate directories. so the structure changes even the index file is present in the same folder as the css file.

    Ah, I see. Thanks.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘CSS layouts?’ is closed to new replies.