Viewing 11 replies - 1 through 11 (of 11 total)
  • Try sorting out the markup errors. Then move onto the CSS errors.
    https://codex.www.ads-software.com/Validating_a_Website
    If you continue to have problems with IE, consider conditional comment CSS

    Thread Starter localfamilystuff

    (@localfamilystuff)

    Ah ok, so it’s not a general IE10 problem, it’s definitely something I’m doing. I’ve just been told that another site I’ve done isn’t showing right in IE10 either so I guess it’s me! Nuts

    Thanks Esmi

    Thread Starter localfamilystuff

    (@localfamilystuff)

    Oh this is all beyond me. I don’t know what to do. Any more help or could you explain what I should do with my errors? I can’t even find them in the files. I took out the X-UA-Compatible line out of the header.php but it’s still showing “Bad value X-UA-Compatible for attribute http-equiv on element meta”.
    And there’s 3 more but I can’t find them. I’m out of my depth here

    There are actually probably more than 4 – the last one is such that the validator quit. It looks like the form in the sidebar may be the problem causing the sidebar to drop – but you have a lot of old, deprecated code in that site.

    Unfortunately, there’s no easy way to find all these kinds of errors – you have to use the validator results with the line numbers and then track down where those elements are – possibly widgets for that form. Depends on your theme. But errors can come from the theme, plugins or your content. It also takes some knowledge of valid HTML and CSS to figure out where they are and how to fix them – how much do you know about that? It’s really not something anyone here can tell you exactly how to do as we don’t have access to your site.

    Thread Starter localfamilystuff

    (@localfamilystuff)

    Thanks for your response – I have some knowledge of HTML and CSS but probably not enough. I thought WordPress was going to be a lot more user friendly – but maybe I’m doing something wrong.

    I will have another look at that form then – although I have another site which is doing the same and it only has recent posts in the sidebar so I don’t know.

    Would putting in a container size help at all? Just a thought…

    “User-friendly” is kinda subjective, but these kinds of issues aren’t really specific to WP – though they are possibly a bit harder to track down than in a static HTML site. :).

    I looked at your site compared to the original theme and it looks like you changed some widths on that layout – so you might try adjusting those because that can cause a sidebar to fall too…this one in particular –

    #maincontent {
        width: 680px;
    }

    The other thing is that what you are calling a child theme really isn’t – a valid child theme has ONLY changes in the style.css file after the @import line for the parent styles. So that would be a better way to go about modifying themes.

    Thread Starter localfamilystuff

    (@localfamilystuff)

    Oh now I am so confused. Thank you for your input – I think I followed the instructions when creating a child theme – and I don’t even know where the @import line is. I’m just doing as I’ve been told by wordpress aren’t I?

    I love using this, I have felt it very user friendly up to now, it is only IE10 that I seem to be having a problem with.

    I amended the main content in the user friendly interface bit on the pressworks theme.

    Thanks for the ideas but I still don’t know where to go next.

    No, you need to reread carefully – https://codex.www.ads-software.com/Child_Themes

    The top of your style.css file should have this:
    `
    /*
    Theme Name: PressWork Child
    Template: presswork

    */
    @import url(‘../presswork/style.css’);

    And then it should contain ONLY changes you make to the CSS – not a copy of all the parent styles – the @import line brings in all the parent styles.

    I’m not sure what else to say about these issues, except to sort out the errors – and that’s not something anyone can do without access to the backend of the site, sorry.

    You could also try switching to an unchanged version of the theme and see if that fixes it – then you’d know it was something you changed…

    Thread Starter localfamilystuff

    (@localfamilystuff)

    One more thing – I think the validator errors are being thrown up by the menu – should I scrap it and start again?

    One other thought here – if these issues are only in IE10 – that may be an IE setting issue – see this thread:

    https://www.ads-software.com/support/topic/width-in-ie-10?replies=8

    Thread Starter localfamilystuff

    (@localfamilystuff)

    Wow, how did I get the child theme idea so wrong! What a numpty.

    So I find the relevant bit of CSS that I want to change and copy that section into the child bit and make my amends?

    What difference does it make if I do it the way I’ve done it, just out of interest?

    Thank you so much for your time on this, I really want to learn how to do it right

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘IE10 and sidebar – can't solve it’ is closed to new replies.