• Resolved benjaminzand

    (@benjaminzand)


    Hi there,

    I was editing my site’s CSS today (trying to put a little flash map in position) and all of a sudden my sidebar has shifted to the left. Everything else is in the exact same position and can be moved via CSS, but despite what I do to the sidebar’s CSS it stays in the exact same position. If I edit the CSS using firebug on Firefox I can successfully move the side bar into the right position, but when I try and save this in the style.css I see no changes at all.

    Here is my site and here is the code I’m using:

    /* Sidebar */
    #sidebar {float: right; display: inline; width: 320px; }
    #sidebar .widget {margin-bottom: 10px; font-size: 12px; line-height: 18px; }
    #sidebar .widget li {font-size: 14px; line-height: 24px; }
    #sidebar div.cover {margin-right: 10px; }
    #sidebar ul.posts h3 {overflow: hidden; font-size: 12px; line-height: 18px;}
    #sidebar ul.posts p.postmetadata {font-size: 11px; }

    Any help would be amazing.

Viewing 15 replies - 1 through 15 (of 24 total)
  • I can’t actually view anything except a holding page?

    Can’t see your site ?? – your landing page… It’s likely that you have a CSS error someplace in the stylesheet – which can render any subsequent CSS non-functional.

    Thread Starter benjaminzand

    (@benjaminzand)

    Sorry! That’s deactivated now completely forgot about that. You should be able to see it now.

    I’ve been having issues all day with WordPress going ridiculously slow as well and the server randomly dropping, do you think this could be related?

    Thanks for the help.

    The holding page is still showing.

    Might have something to do with WP Super Cache running.

    Thread Starter benjaminzand

    (@benjaminzand)

    Hi there,

    Okay I’ll delete the plugin making the holding page and see if you can access it then.

    And I’ve only literally downloaded WP Super Cache a few minutes ago due to my hosts (iPage) telling me this could improve the speed of WordPress. The problem was happening before then.

    I really don’t understand why. I’m guessing I’ve made an error somewhere like WPyogi said, but I just don’t know where!

    Thanks again for helping me out.

    You don’t want to download WP Super Cache until your website is ready to be cached. Otherwise the plugin starts caching things that are not finished.

    Thread Starter benjaminzand

    (@benjaminzand)

    Oh okay, I’ll get rid of that right now then.

    I really don’t understand what the problem is. As I said the site is also going very slow as well and I keep getting a connection error when trying to access the theme editor. I don’t know what I’ve done but I’ve definitely done something wrong.

    It might be the WordPress install, but more likely it is iPage. I’m assuming it is hosted on a shared server, because in the past I’ve had the exact same problem with WordPress blogs on iPage which have been fine on other servers.

    Thread Starter benjaminzand

    (@benjaminzand)

    Okay, I’m flagging it up to iPage again to see if they’ll actually do anything this time. So I’ll see what happens. Could this be the reason for the CSS also or is that more likely to be something else?

    Thread Starter benjaminzand

    (@benjaminzand)

    Anyone have an idea why changing the CSS isn’t updating?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter benjaminzand

    (@benjaminzand)

    Okay, I’ve found the problems. First of all, iPage was using a cacheing program and despite speaking to them on about 50 occasions they didn’t decide to tell me so until I found out on the internet. They’ve deactivated this now but I’ve also realised that my child theme style.css is no longer overriding the parent style.css.

    Does anybody have an idea of why this may be?

    Thanks again for the help.

    Without seeing the site no way to even guess (landing page is up)… Might well be that you have an error someplace in the stylesheet.

    Try validating your CSS:

    https://jigsaw.w3.org/css-validator/

    Thread Starter benjaminzand

    (@benjaminzand)

    Sorry that plugin is deactivated now so you should be able to take a look. I’m not quite sure what my child theme’s URI is, how would I find that?

    Thanks.

    Thread Starter benjaminzand

    (@benjaminzand)

    Oh wait, I’ve just realised you can input code directly! I’ll do this, thanks again.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Sidebar won't move despite changing CSS’ is closed to new replies.