WordPress.org

Ready to get started?Download WordPress

Forums

Theme Doesn't Look Right? (23 posts)

  1. nickie17
    Member
    Posted 1 year ago #

    Hello, everyone! I've installed a theme earlier but I can't get it to work.

    http://www.level-lanegaming.net/ - that's what it looks like.

    http://www.paddsolutions.com/wpmag/thalliumity/ - this is what it SHOULD look like.

    Can anyone help me out? It's very disoriented, there's no appearance. Just text.

  2. Zulfikar Nore
    Member
    Posted 1 year ago #

    It seems as though you have a broken theme - its not properly installed. Try re-uploading it using the built in theme uploader.

    By the way, that theme is not hosted here so you might want to take it up with the author for further support on it.

  3. nickie17
    Member
    Posted 1 year ago #

    It works on my iPhone http://irl-upload.com/u/1363128939.jpg but no where else. It's weird. It also works on Internet Explorer but not Firefox nor Google Chrome.

  4. Andrei Olsen
    Member
    Posted 1 year ago #

    Your style.css imports style.css.php file in css folder that in turn imports and compresses a bunch of other CSS files.

    Now the problem is that your host apparently adds following tracking code to your generated CSS that results in content encoding error:

    <!-- Hosting24 Analytics Code -->
    <script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
    <!-- End Of Analytics Code -->

    Check with your host how you can turn it off.

    But for now you can use this as a workaround:

    You can turn off the compression, to do this change
    @import 'css/style.css.php?c=1';
    to
    @import 'css/style.css.php';
    in style.css.

    It will most likely work, but you'll still have invalid CSS.

    You could also copy the generated CSS by visiting http://www.level-lanegaming.net/wp-content/themes/thalliumity/css/style.css.php and paste it in your style.css instead of @import rule. You will lose the dynamic ability of the CSS/PHP. This means that you would most likely need to check if the CSS output has changed and copy-paste changes every time you change theme's options. But you'll have a valid CSS.

  5. nickie17
    Member
    Posted 1 year ago #

    I copied everything I saw in the generated CSS and pasted it into sytle.css using FTP. Is that what you're saying to do?

  6. Andrei Olsen
    Member
    Posted 1 year ago #

    As far as I can see you style.css is still the same.

    If you're going to use this approach. Visit the php URL without ?c=1. Copy everything except <!-- Hosting24 etc. part. Paste in style.css instead of @import, save and re-upload overwriting the old file.

  7. nickie17
    Member
    Posted 1 year ago #

    Okay, I've copied everything from the URL except the hosting24 part and then accessed the FTP, passed it into style.ss, saved it, and re-uploaded it. Still no luck.

  8. Andrei Olsen
    Member
    Posted 1 year ago #

    I'm not sure you uploaded it correctly. See for yourself, the file hasn't changed:
    http://www.level-lanegaming.net/wp-content/themes/thalliumity/style.css

  9. nickie17
    Member
    Posted 1 year ago #

    Ooops! Wrong file.

    Okay. I did! I got luck but some things are out of place like the slider in the middle. As well as the background color. Got any ideas :)

  10. Andrei Olsen
    Member
    Posted 1 year ago #

    You can start by commenting out @import 'css/style.css.php?c=1';. I do believe I mentioned instead, not in addition, a couple of times ;)

    Use /* and */, e.g. /* THE RULES HERE */ to comment the line out. Or you can just delete it.

  11. nickie17
    Member
    Posted 1 year ago #

    Okay! I've deleted @import 'css/style.css.php?c=1';

    Anything else?

  12. Andrei Olsen
    Member
    Posted 1 year ago #

    Okay, I see what's going on. The path to the images is incorrect since style.css.php was in css folder and now it's up one level. You can replace all ../images with images.

    Or the easiest thing to do would be this:
    1. copy generated CSS to a new file, let's say mystyles.css
    2. move it to css folder
    3. in style.css remove everything you added and under

    License: GNU General Public License
    */

    add this

    @import url("css/mystyles.css");

  13. nickie17
    Member
    Posted 1 year ago #

    I did that and it went back to the original issue.

  14. Andrei Olsen
    Member
    Posted 1 year ago #

    Not exactly the same.

    The content of the mystyles.css is not exactly CSS, you can check it yourself. Recreate mystyles.css and re-upload.

  15. nickie17
    Member
    Posted 1 year ago #

    Create it in a notepad and save it as mystyles.css, correct?

  16. Andrei Olsen
    Member
    Posted 1 year ago #

    Copy style.css, rename to mystyles.css. Open in notepad, delete everything, paste generated CSS. Save and re-upload.

  17. nickie17
    Member
    Posted 1 year ago #

    Ok! I've done that! Great! Colors are back! Do you know how to center the image slider? Thanks soooo much, by the way :)

  18. Andrei Olsen
    Member
    Posted 1 year ago #

    No problem ;)

    In mystyles.css find #slideshow-wrapper and add
    clear: both;

    You may also want to add a top margin, e.g.
    margin-top: 2em;

    to add a white-space between the search box and the slider.

  19. nickie17
    Member
    Posted 1 year ago #

    Oh, my! Seems like we're all done!

    Once again, man. Thanks for everything. You're a life saver. Much appreciated.

  20. Andrei Olsen
    Member
    Posted 1 year ago #

    You footer is messed up a bit, some broken HTML. You'd need to review the changes that you did there.

    Anyway, you're welcome.

  21. nickie17
    Member
    Posted 1 year ago #

    Also, do you know how to add images to this slider? I don't see it in the theme's options.

  22. Andrei Olsen
    Member
    Posted 1 year ago #

    Apparently it picks up featured images from the posts of some chosen category that you can change in theme's options under slideshow.

    I'm not sure if there's any other easy way to add individual slides.

  23. nickie17
    Member
    Posted 1 year ago #

    Hey. Can you also help me get the footer back to it's original state?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.