Forums

P2 sidebar not displaying on iPhones + repeat background issue (9 posts)

  1. tomcho
    Member
    Posted 1 year ago #

    I have 2 P2 queries.

    1) I've discovered that the sidebar for the P2 theme doesn't display on iPhones. I was a bit shocked to realise this. Is there a way to fix this - e.g. using CSS?

    2) I've tried and tried but I can't work out how to repeat the white page background so it matches the length of the sidebar. Here is an example of the problem:

    http://tomcho.www55.a2hosting.com/?page_id=127

    I really hope someone can help with either of these!

  2. tomcho
    Member
    Posted 1 year ago #

    P.S. I tried removing the P2 Recent Tags and Recent Comments widgets from the sidebar because I wondered if the problem was due to a flash/iPhone issue but that didn't help.

  3. tomcho
    Member
    Posted 1 year ago #

    I have discovered that there is a separate style-iphone.css for the P2 theme but, being a dabbler in CSS, I can't work out how to get the sidebar to display.

    There are some lines right at the beginning of the css that say:


    #header_img img, #sidebar, #postbox .avatar {
    	display: none;
    }

    I deleted #sidebar from that code but it didn't make any difference. Then I also added in:


    #sidebar {
            display: inline;
    }

    but that didn't help either.

  4. tomcho
    Member
    Posted 1 year ago #

    Anyone? Bueller?

  5. cembleton2
    Member
    Posted 1 year ago #

    I hope you get a helpful response to this soon, because I'm wondering the same thing. I have my website set up so that all the ways visitors can sort the data (by selecting a category, etc.) are in the sidebar--so without that, they can't really navigate the website from the iPhone. Does anyone have any idea how to make the sidebar show up on an iPhone?

  6. Lance Willett
    Theme Wrangler
    Posted 1 year ago #

    The iPhone stylesheet hides the sidebar entirely, and makes the main column 100% width so even removing the display: none won't show it.

    We're trying to come up with a good way to show it and keep the large size of the main column—any ideas are welcome.

    If you want to patch it (or remove the iPhone CSS entirely) look in functions.php for the iphone_css() function. You can comment out the add_action to not load the CSS file at all.

  7. cembleton2
    Member
    Posted 1 year ago #

    UGH! I don't know what I did wrong, but when I went into functions.php, went down to iphone_css(), and then below it, commented out the add_action line (using the usual <!-- and --> ), everything went white--my website, the Dashboard--EVERYTHING. I backed up the browser so that I could return to the Functions.php file, then removed the "comment out" characters I had added (so that it was back to the way it was), and saved the changes, and now EVERYTHING is white--I can't access my website or the Dashboard. All I get is a blank screen in either case. Please help!

  8. rickhend
    Member
    Posted 1 year ago #

    I have deactivated the iphone css and reduced the overall wrapper size to 780 (from 980). It looks like this:

    http://www.kwtweetnet.com and
    http://www.agentmapit.com/blog

    This seems like a much better solution.

    I've been able to adjust everything except the author/date line. Can't figure that one out. When I remove the avatars the author/date line is still indented. - see - http://www.agentmapit.com/blog

  9. rickhend
    Member
    Posted 1 year ago #

    I want to remove the "reply" box from specific pages. For example:

    http://www.kwtweetnet.com/?page_id=2

    I can't figure out how to do this. It would be nice if this was an option.

Topic Closed

This topic has been closed to new replies.

About this Topic