Skip to content

Commit

Permalink
スキンCSSのスライドインメニュー表示の不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Apr 19, 2017
1 parent dff3de5 commit feff3b7
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 14 deletions.
4 changes: 4 additions & 0 deletions css/footer-mobile-buttons-dark.css
Expand Up @@ -69,4 +69,8 @@ div.sidr ul li ul li.sidr-class-active{

#sidebar.sidr .blog-card-excerpt{
color: #ccc;
}

#sidebar.sidr .blog-card-title{
color: #fff;
}
2 changes: 1 addition & 1 deletion css/footer-mobile-buttons-light.css
Expand Up @@ -57,4 +57,4 @@ div#navi ul,
div#navi ul.sub-menu,
div#navi ul.children{
background: #f8f8f8 none repeat scroll 0 0;
}
}
26 changes: 13 additions & 13 deletions javascript.js
Expand Up @@ -428,20 +428,20 @@ jQuery(function(){
///////////////////////////////////
// Facebookページいいねエリアのリサイズ(Androidブラウザ対応用)
///////////////////////////////////
function adjast_article_like_arrow_box() {
var w = jQuery('#main').width();
jQuery('#main .article-like-arrow-box').css('width', (w - 114) + 'px');
w = jQuery('#sidebar').width();
jQuery('#sidebar .article-like-arrow-box').css('width', (w - 114) + 'px');
//console.log(w);
}
jQuery(window).resize(function() {
adjast_article_like_arrow_box()
});
// function adjast_article_like_arrow_box() {
// var w = jQuery('#main').width();
// jQuery('#main .article-like-arrow-box').css('width', (w - 114) + 'px');
// w = jQuery('#sidebar').width();
// jQuery('#sidebar .article-like-arrow-box').css('width', (w - 114) + 'px');
// //console.log(w);
// }
// jQuery(window).resize(function() {
// adjast_article_like_arrow_box()
// });

jQuery(document).ready(function() {
adjast_article_like_arrow_box()
});
// jQuery(document).ready(function() {
// adjast_article_like_arrow_box()
// });

// ///////////////////////////////////
// // Twitterのツイート数取得関数を呼び出す
Expand Down
3 changes: 3 additions & 0 deletions lib/custom-field.php
Expand Up @@ -54,6 +54,7 @@ function view_comment_custom_box(){
function save_comment_custom_data(){
$id = get_the_ID();
//コメント凍結
$is_comment_form_freeze = null;
if ( isset( $_POST['is_comment_form_freeze'] ) ){
$is_comment_form_freeze = $_POST['is_comment_form_freeze'];
}
Expand Down Expand Up @@ -95,6 +96,7 @@ function view_ad_custom_box(){
function save_ad_custom_data(){
$id = get_the_ID();
//広告の除外
$is_ads_removed_in_page = null;
if ( isset( $_POST['is_ads_removed_in_page'] ) ){
$is_ads_removed_in_page = $_POST['is_ads_removed_in_page'];
}
Expand Down Expand Up @@ -363,6 +365,7 @@ function save_amp_custom_data(){
$id = get_the_ID();

//AMPを有効化するか
$is_noamp = null;
if ( isset( $_POST['is_noamp'] ) ){
$is_noamp = $_POST['is_noamp'];
}
Expand Down
13 changes: 13 additions & 0 deletions skins/gingham-chic/mobile.css
Expand Up @@ -3,4 +3,17 @@
#navi,
#navi ul{
border:0;
}

#navi.sidr .menu li a {
border-right: none;
padding: 10px;
}

#navi.sidr .menu li a:hover{
color: #fff;
}

#navi.sidr .menu li:first-child{
border-left: none;
}
13 changes: 13 additions & 0 deletions skins/gingham-clean/mobile.css
Expand Up @@ -3,4 +3,17 @@
#navi,
#navi ul{
border:0;
}

#navi.sidr .menu li a {
border-right: none;
padding: 10px;
}

#navi.sidr .menu li a:hover{
color: #fff;
}

#navi.sidr .menu li:first-child{
border-left: none;
}
13 changes: 13 additions & 0 deletions skins/gingham-girlish/mobile.css
Expand Up @@ -3,4 +3,17 @@
#navi,
#navi ul{
border:0;
}

#navi.sidr .menu li a {
border-right: none;
padding: 10px;
}

#navi.sidr .menu li a:hover{
color: #fff;
}

#navi.sidr .menu li:first-child{
border-left: none;
}

0 comments on commit feff3b7

Please sign in to comment.