Welcart Beldad 1.5.1 をリリースしました。修正点は以下のとおりです。
【DL Seller】自動継続課金情報ページのスタイル調整
WCEX DL Seller 3.5 で追加された自動継続課金情報ページのスタイル調整をおこなっております。
Welcart Beldad をカスタマイズしてアップデートできない場合は、親テーマの Welcart Basic を最新バージョンにアップデートしていただき、下記を参考にスタイル追加・削除をおこなってください。
スタイル削除・追加 : usces_cart.css 1689行目〜 / 1868行目〜
1. Welcart Beldad 1.5 で追加したスタイルに不要なスタイルがございますので、まず下記のスタイルを削除してください。
.memb-delivery-address #cancel_destination, .memb-delivery-address #del_destination { background-color : #eee ; color : #333 ; } /* DL Seller | Member Auto Billing Info -------------------------------------------------------------- */ #wc_member_auto_billing_info #memberpages { margin : 0 1.071em ; } #wc_member_auto_billing_info #memberinfo h 3 { line-height : 1 ; } .auto_billing_contents .billing-year-select { top : . 4em ; } |
2. 続いて、削除した部分に下記のスタイルを追加ください。
#wc_member_auto_billing_info #memberpages { margin : 0 1.071em ; } #wc_member_auto_billing_info .auto_billing_contents dt { background : none ; color : inherit ; } #wc_member_auto_billing_info #memberinfo .data-table- wrap h 2 { font-family : inherit ; } #wc_member_auto_billing_info .auto_billing_contents .billing-year-select { top : . 25em ; } #wc_member_auto_billing_info .auto_billing_contents .billing-year-select select { height : 30px ; padding : 0 2.143em 0 . 714em ; line-height : 30px ; } #memberinfo #history_head td.retail a, #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td a { text-decoration : underline ; } #memberinfo #history_head td.retail a:hover, #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td a:hover { text-decoration : none ; } ・・・ @media screen and ( min-width : 38.75em ) { ・・・ .memb-delivery-address #add _destination, .memb-delivery-address #edit_destination, .memb-delivery-address #cancel_destination, .memb-delivery-address #del_destination { width : 20% ; } /* DL Seller | Member Auto Billing Info -------------------------------------------------------------- */ #wc_member_auto_billing_info .auto_billing_contents .billing-year-select { top : . 714em ; } } @media screen and ( min-width : 46.25em ) { ・・・ |
スタイル追加 : inc/theme-customizer.php 2030行目〜 / 2214行目〜 / 2260行目〜 / 2649行目〜
function wcct_customizer_footer_styles() { ・・・ /* 追加場所1: 2030行目〜 */ #site-navigation ul.sub-menu a:before { background-color : <?php echo $text_color; ?>; } /* -------- Link Color -------- */ a, #memberinfo #history_head td.retail a, #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td a { color : <?php echo $link_color; ?>; } a:hover, #memberinfo #history_head td.retail a:hover, #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td a:hover { color : <?php echo $link_color_rgba; ?>; } * -------- Border Color -------- */ textarea, ・・・ /* 追加場所2: 2214行目〜 */ .widgetcart th.trush, .item-info .item_custom_field th, #wc_regular table th, #itempage table .dlseller th, .entry-content th, .item-description th, .skuform .itemGpExp dt, #wc_member_auto_billing_info #memberinfo .data-table- wrap h 2 , #wc_member_auto_billing_info #memberinfo .auto_billing_contents table thead th { background-color : <?php echo $main_th_bg; ?>; color : <?php echo $main_th_text; ?>; } .widget_calendar th, .widget_calendar td, .welcart_blog_calendar th, .welcart_blog_calendar td, .widget_welcart_calendar th, .widget_welcart_calendar td, #cart_table tbody tr, ・・・ /* 追加場所3: 2260行目〜 */ .item-description th, .item-description td, .skuform .itemGpExp, #amount_each_time th, #amount_each_time td, #wc_member_auto_billing_info .auto_billing_contents .subscription_block, #wc_member_auto_billing_info .auto_billing_contents dt, #wc_member_auto_billing_info .auto_billing_contents dd, #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody, #memberinfo .auto_billing_contents table tbody td, #memberinfo .auto_billing_contents table tbody td:nth-child(even), #memberinfo .auto_billing_contents p.nodata { border-color : <?php echo $main_table_border; ?>; } .widget_calendar td a, .widget_welcart_calendar .businessday, .f-widgetArea .widget_welcart_calendar .businessday { background-color : <?php echo $holiday_color; ?>; } ・・・ /* 追加場所4: 2649行目〜 */ #wgct_alert.update_box, #wgct_alert.completion_box { color : <?php echo $text_color; ?>; background-color : #fff ; box-shadow : 2px 2px 3px 3px rgba ( 204 , 204 , 204 ,. 4 ); } @media screen and ( min-width : 38.75em ) { #wc_member_auto_billing_info .auto_billing_contents dl::after { background-color : <?php echo $main_table_border; ?>; } #wc_member_auto_billing_info #memberinfo .data-table- wrap h 2 { background : none ; color : inherit ; } #wc_member_auto_billing_info #memberinfo .auto_billing_contents table thead th, #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td, #wc_member_auto_billing_info #memberinfo .auto_billing_contents table tbody td:last-child, #wc_member_auto_billing_info .auto_billing_contents dd:nth-of-type(odd) { border-color : <?php echo $main_table_border; ?>; } } ・・・ |
「Welcart キーワード検索」ウィジェットの表示不具合を修正
スタイル追加 : style.css 1390行目〜 / 1595行目〜 / 3528行目〜
/* 追加場所1: 1390行目〜 */ #secondary .widget_welcart_featured .itemsoldout { display : none ; } /* -- .widget_welcart_search -- */ .widget_welcart_search #searchform { display : block ; position : relative ; width : auto ; max-width : 480px ; + padding : 0 ; float : none ; background : none ; } .widget_welcart_search .searchtext { width : 100% ; + padding : 0 100px 0 2% ; border-width : 1px ; - border-style : solid ; } .widget_welcart_search #searchsubmit { position : absolute ; top : 0 ; right : 0 ; width : auto ; + padding : 0 . 714em ; + background : none ; } .widget_welcart_search div { - background : none ; text-align : left ; } + + + .widget_welcart_search div a { ・・・ /* 追加場所2: 1595行目〜 */ #searchform .s-box { position : relative ; overflow : hidden ; border-width : 1px ; border-style : solid ; border-radius : 50px ; } #searchform .search-text { width : 100% ; padding : 0 . 714em ; border : none ; line-height : 2.857em ; } @media screen and ( min-width : 62.5em ) { ・・・ /* 追加場所3: 3528行目〜 */ .widget_welcart_search div a, .widgetcart #wdgctToCheckout a { height : 56px ; line-height : 56px ; } .widget_welcart_search .searchtext { margin : 0 ; } .widget_welcart_search .searchtext + { height : 50px ; } } |
/* 追加場所1: 1390行目〜 */ #secondary .widget_welcart_featured .itemsoldout { display : none ; } /* -- .widget_welcart_search -- */ .widget_welcart_search #searchform { display : block ; position : relative ; width : auto ; max-width : 480px ; margin : 0 1.071em ; padding : 0 ; float : none ; background : none ; } .widget_welcart_search .searchtext { width : 100% ; height : 40px ; padding : 0 100px 0 2% ; border-width : 1px ; - } .widget_welcart_search #searchsubmit { position : absolute ; top : 0 ; right : 0 ; width : auto ; height : 40px ; padding : 0 . 714em ; border-radius : 0 3px 3px 0 ; background : none ; } .widget_welcart_search div { - text-align : left ; } .widget_welcart_search #searchsubmit + div { background : none ; } .widget_welcart_search div a { ・・・ /* 追加場所2: 1595行目〜 */ #searchform .s-box { position : relative ; overflow : hidden ; border-width : 1px ; border-style : solid ; border-radius : 50px ; } #searchform .search-text { width : 100% ; padding : 0 3em 0 . 714em ; border : none ; line-height : 2.857em ; } @media screen and ( min-width : 62.5em ) { ・・・ /* 追加場所3: 3528行目〜 */ .widget_welcart_search div a, .widgetcart #wdgctToCheckout a { height : 56px ; line-height : 56px ; } .widget_welcart_search #searchform { margin : 0 ; } .widget_welcart_search .searchtext, .widget_welcart_search #searchsubmit { height : 50px ; } } |
トップページ「トピックス一覧」の表示不具合を修正
テンプレート修正 : front-page.php 159行目〜
endif ; if ( wcct_get_options( 'display_pickup' ) ) : + $pickup_cat = get_term_by( 'slug' , $pickup_slug , 'category' ); if ( ! empty ( $pickup_cat ) ) : $pickup_name = $pickup_cat ->name; ?> . . . <?php $pickup_num = wcct_get_options( 'pickup_num' ); - $pickup_slug = wcct_get_options( 'pickup_cat' ); $pickup_args = array ( 'posts_per_page' => $pickup_num , 'category_name' => $pickup_slug , |
「$pickup_slug = wcct_get_options( ‘pickup_cat’ );」を「$pickup_cat」の上に移動しください。
endif ; if ( wcct_get_options( 'display_pickup' ) ) : + $pickup_slug = wcct_get_options( 'pickup_cat' ); $pickup_cat = get_term_by( 'slug' , $pickup_slug , 'category' ); if ( ! empty ( $pickup_cat ) ) : $pickup_name = $pickup_cat ->name; ?> . . . <?php $pickup_num = wcct_get_options( 'pickup_num' ); - $pickup_args = array ( 'posts_per_page' => $pickup_num , 'category_name' => $pickup_slug , |