I’ve caught a static width content material slider on my WordPress websites entrance web page. I am utilizing the Twenty Eleven theme with a small piece of code included into index.php to show the slider. Sadly due to how the theme handles cell browsers, it causes the slider to push throughout the display screen with out the remainder of the theme following it. So I used to be questioning if there was a option to conceal the slider from cell browsers?
The code inserted into the theme is as follows:
<?php if (function_exists('rps_show')) echo rps_show(); ?>
And in context:
<?php
get_header(); ?>
<p><h1 type="font-size:200%">Todays' featured posts</h1>
<?php if (function_exists('rps_show')) echo rps_show(); ?>
</br>
<div id="main">
<div id="content material" position="essential">
<?php if ( have_posts() ) : ?>
<?php twentyeleven_content_nav( 'nav-above' ); ?>
<?php /* Begin the Loop */ ?>
<?php whereas ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content material', get_post_format() ); ?>
<?php endwhile; ?>
Any concepts?