Mobile Site Not Centered

Discussion in 'Blackriders WordPress Theme' started by hyprank, Apr 24, 2014.

  1. hyprank

    hyprank New Member

    Joined:
    Apr 23, 2014
    Messages:
    1
    Likes Received:
    0
    I saw in another thread to re-install the theme from the member's area and it should fix the problem. However, I made some changes to the front-page.php file, as well as custom CSS and I want to make sure all that stays in tact.

    can you look at the site for me and let me know what to do?

    Also, I have a video embedded that is set to auto play. On mobile it does not auto play, and the player appears to be cut off. I am not sure if this has anything to do with the alignment issue or not.

    site is palmcleaningsystems.com/tile-floor-cleaning-ppc
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    While updating theme changes done in php file (like:front-page.php) will lost.
    You can use child theme to save your changes.
    Download child theme attached and paste your front-page.php file in child theme directory and activate it.
    After that update your parent theme.

    For video set iframe width 100% and height auto. It will resize video according to screen size.
    <iframe width="100%" height="100%" src="//www.youtube.com/embed/miMQlt0y094" frameborder="0" allowfullscreen></iframe>


    Thanks & Regards
    Nitesh Raghuwanshi
     

    Attached Files:

Share This Page