Mobil sayfalarımın 2 tanesi tam% 100 genişliğe gitmiyor, here numaralı telefonu görebiliyorsunuz.Mobil cihazlarda% 100 görüntü genişliği ile ilgili sorunlar mı var?
Kodumda <meta name="viewport" content="width=device-width" />
var ve bunun çeşitli varyasyonlarını denedim. Geri kalan sayfalar özel şablonlar olduğundan, sorun pages.php
dosyamda olabilir mi?
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
*/
get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('content'); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content .site-content -->
</div>
<?php get_footer(); ?>
CSS: Ben wordpress ilgili veya kodumu berbat bulunuyor şey eksik
#content {
margin: 0 auto;
max-width: 51em;
background: none;
float: none;
margin: 0 auto;
padding: 0;
}
#primary {
width: 100%;
}
Bilmiyorum (I
İşte page.php benim kod Ben kodlamada yeni başlayan biriyim, ya da ne. Diğer sayfalarm düzgün çalıştığı için kafası karıştı ve kodda o ince genişliğe neden olan hiçbir şey göremiyorum.
* btw - mobil cihazda henüz nav'ı anlamadı, ancak bağlantının diğer sayfalarda çalıştığını görebilirsiniz: Home.
herhangi bir sorunu göremiyor – dippas