게시판 답변

10 글 보임 - 31 에서 40 까지 (총 54 중에서)
  • 글쓴이
  • mimoon
    키 마스터

      이 문제는 방금 해결했습니다. 그러나 Paypal 사용자의 경우는 어떻게 작동할 지 모르겠습니다. 안 되면 피드백 주세요.

      답변: [css] To display fonts for Greek and Hebrew #12842
      mimoon
      키 마스터

        유니코드 레인지에 U+1F00-1FFF가 없으면 Rough breathing문자 표현 안 됨.
        unicode-range: U+0370-03FF, U+1F00-1FFF;

        답변: [css] To display fonts for Greek and Hebrew #12841
        mimoon
        키 마스터

          for old Android:

          
          src: local('Courier New'), local('Roboto-Light'),local('Droid Sans'), local('Noto Sans'), local("SFNSText-Light"), local("HelveticaNeueDeskInterface-Light"), local("LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Tahoma");
          
          답변: 비공개: [css] astra 최종 css #12762
          mimoon
          키 마스터

            2021-03-13

            
            html { 
            	overflow-x: hidden; 
            }
            /*--entry-content font change
            ------*/
            /* content body font size*/
            div.entry-content {
            		//margin: 0 0 1em 0;
            	margin: 0 0 0 0;
                font-weight: 400;
               // line-height: 1.625em;
                letter-spacing: -0.05em;
                color: #333;
                text-align: justify;
            		text-justify: inter-character;
              //  word-break: normal;
            word-wrap: break-word;
            word-break: break-all;
                font-size: 18px;
                line-height: 170%;
            }
            
            /* H4 font size in entry-content */
            div.entry-content h4 {
                font-size: 23px;
            	  line-height: 160%;
            
            }
            
            /*site title size*/
            .site-title a {
               font-size: 34px;
            }
            
            /*--comment status remove----*/
            .entry-meta .comments {
                display: none;
            }
            
            /* text box*/
            p.has-background{
            		padding-left:15px;
            	padding-right:15px;
            }
            
            /* intro page-daily montage---
            h4.pt-cv-title a {
            color: #777;
            margin-top: 20px;
            margin-bottom: 20px;
            	font-size: 24px;
            }
            div.pt-cv-wrapper p {
            	margin: 0 0 1em 0;
              line-height: 2em;
               font-size: 18px;
                color: #777;
            	text-align: justify;
            		text-justify: inter-character;
            	//word-break: normal;
            word-wrap: break-word;
              word-break: keep-all;
            	padding-left:15px;
            	padding-right:15px;
            }
            #pt-cv-view-b300c7drtp div.pt-cv-content {
               color: #777;
            }
            */
            
            /* mobile menu search form */
            
            @media only screen and (max-width: 768px) {
            	
            h2.widgettitle {
              margin-left: 15px;
                font-size: 14px;
            }
            	
            	/*title size in mobile*/
            .ast-single-post .entry-title, .page-title {
                font-size: 24px;
            	font-weight: 400;
            }
            	
            	/* content text style in mobile*/
            	div.entry-content {
            		margin: 0 0 1em 0;
                font-weight: 400;
                line-height: 1.625em;
                letter-spacing: -0.05em;
                color: #333;
                text-align: justify;
            		text-justify: inter-character;
              //  word-break: normal;
            word-wrap: break-word;
              word-break: break-all;
                font-size: 18px;
                line-height: 170%;
            }
            
            	
            }
            
            /*--wp-caption-text font change
            ------*/
            #primary .wp-caption-text {
                font-size: 13px;
                line-height: 150%;
              text-decoration: underline border-bottom 4px;
              text-decoration: underline orange;
            text-underline-position: under;
            //text-decoration-thickness: 1rem;
            }
            .wp-block-image figcaption {
            font-style: italic;
                font-size: 13px;
                line-height: 150%;
            text-align: left;
              text-decoration: underline orange;
            text-underline-position: under;
            text-decoration-width: 4px;
            }
            /*--wp-caption-text in front page
            ------*/
            .wp-caption .wp-caption-text, .gallery-caption {
                 font-size: 13px;
            }
            
            /*--blockquote 
            ------*/
            blockquote.wp-block-quote {
            	font-size: 16px;
             margin-left: 20px;
             padding-left: 10px;
            }
            
            /*--blockquote-caption-text 
            ------*/
            blockquote cite {
                font-size: 12px;
            }
            
            /*--bbpress sidebar remove
            ------*/
            .bbpress #secondary {      
            display: none;
            }
            .bbpress #primary {
              //  margin: 0 auto;
                max-width: 980px;
                width: 100%;
            }
            
            /*-----
            .breadcrumbs  span[property=\"name\"] {
                max-width: 270px;
                display: inline-block;
                padding: 0;
                margin-top: -3px;
                vertical-align: middle;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            
            -----
            -----
            .breadcrumb span[property=\"name\"] {
                display:none;
            }
            -----*/
            
            .breadcrumb {
                max-width: 220px;
              //  display: inline-block; 
            	// ---except for mobile view
                padding: 0;
                margin-top: -3px;
                vertical-align: middle;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            
            /* 각 게시판명 링크 컬러*/
            #bbpress-forums .bbp-forums-list li *{
                color: #5e9cff;
              // font-size: 12px;
               line-height: 170%;
            }
            /* 각 게시판 상위명 링크 컬러*/
            #bbpress-forums a.bbp-forum-title {
                color: #5e9cff;
            }
            /* 게시판 내 게시물 컬러 */
            #bbpress-forums .bbp-topic-permalink {
                color: #5e9cff;
            }
            
            #bbp_topic_title {
             width: 100%;
            }
            #bbpress-forums {
            margin-left:0px;
            }
            
            /*게시판 요목*/
            #bbpress-forums li.bbp-header *{
                font-size: 12px !important;
            }
            
            /*글 제목 폰트 크기*/
            /* 순서 엄수*/
            #bbpress-forums div.bbp-topic-content, #bbpress-forums a.bbp-topic-permalink {
                  font-size: 16px !important;
               line-height: 170%;
            }
            /*글 바디 폰트 크기*/
            #bbpress-forums div.bbp-reply-content p{
                  font-size: 16px !important;
               line-height: 170%;
            }
            
            /* 게시판 아바타 원형*/
            img.avatar {
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            -ms-border-radius: 50%;
            -o-border-radius: 50%;
            border-radius: 50%;
            -webkit-box-shadow: 0 1px 0 #fff;
            -moz-box-shadow: 0 1px 0 #fff;
            box-shadow: 0 1px 0 #fff;
            }
            
            /* forum 내 freshness 수정*/
            /* freshness name-avatar 세로*/
            /* except forum description info 고려*/
            /*li.bbp-forum-freshness a.bbp-author-name, a.bbp-author-avatar, span.bbp-topic-freshness-author {
            	display: block;
            	margin: 0;
            	padding:0;
            }*/
            span.bbp-author-avatar {
            display: block; 
            /*name을 block 아래로내림*/
            	margin: auto;
            	padding: 0;
            }
            span.bbp-author-name, {
            line-height: 150% !important;
            display: inline;
            margin: auto;
            }
            li.bbp-forum-freshness, li.bbp-topic-freshness {
                text-align: left;
               float: left;
                width: 22%;
               /*padding-left: 10px;*/
            }
            
            /* original writer align */
            /* 같은 공간이지만 다른 객체로 하는 기법 유념*/
            span.bbp-topic-started-by
            a.bbp-author-name, a.bbp-author-avatar {
                display: inline-block;
            }
            /* freshness font size */
            li.bbp-forum-freshness, div.bbp-topic-meta, p.bbp-topic-meta {
            line-height: 170% !important;
            font-size:12px;
            }
            
            /* freshness 좌측정렬 */
            
            #bbpress-forums ul.bbp-forums 
             div.bbp-topic-meta {
            float: center;
            }
            /**** #bbpress-forums ul.bbp-forums span.floatleft {
            float: center;
            }***/
            /****
            div.bbp-topic-meta {
            float: left;
            line-height: 100%
            display:inline-block;
            vertical-align:left;
            }****/
            
            /* 메인 토글 메뉴 높이*/ 
            #access  ul.sub-menu {
                top: 60px;
            }
            /* 메인-하부 토글 메뉴 높이*/ 
            #access ul.sub-menu ul.sub-menu {
            margin-top:-60px;
            }
            
            /* 
              ##공통
              ##all device
            */
            /*서브메뉴좌측정렬*/
            /* left-menu right-menu on mobile */
            li.menu-item a{
            	padding-left:15px;
            }
            /* acoount level(customized) left-menu on mobile */
            
            /* 
              ##all Device of min 936
              ##939 이상의 모든 디바이스
            */
            
            @media only screen and (min-width: 939px) {
            	
            	/* acoount level(customized) on Desktop */
            	/*가공메뉴간격을위한원점타격*/
            	
            .get-profile-d, .edit-profile-d{
            	margin-top:11px;
              margin-bottom:25px
               padding-left:6px;
            }
            	.edit-profile-d{
            		margin-bottom:5px;
            	}
            	.rule-donation-d{
            		margin-top:13px;
            	}
            	.log-out-d{
            		margin-bottom:10px;
            	}
            	ul.sub-menu li.menu-item a{
            		padding-bottom:10px;
            		//margin-bottom:10px;
            	}
            	
            	li.menu-item{
            		line-height:90%;
            	}
            	
            	/* cuctomizes bbPress search pack width*/
            	#bbpress-forums div.bbp-search-form {
            		width: 250px;
                float: right;
            }
            	
            	
            }
            
            /* 
              ##Device = Laptops, Desktops
              ##Screen = B/w 1025px to 1280px
            */
            
            @media (min-width: 1025px) and (max-width: 1280px) {
             
            /**/
            
              
            }
            
            /* 페이팔 버튼 사이즈*/
            #post-3256 paypal, input {
                width: 20%;
            }
            
            /* 하단 포럼 검색 필드*/
            form#bbp-search-form {
            display: inline;
            }
            input#bbp_search {
            width: 68%;
            //	position: absolute;
             width:161px;
            height: 35px;
              margin-bottom: 5px;
              margin-left: -15px;
                font-size: 14px;
            padding-left:0px;
            }
            input#bbp_search_submit.button {
            display: inline;
            padding: 5px;
            	 height: 37px;
            margin-left: -3px;
            width: 27%;
            }
            
            #access ul li.current-menu-itemaccess ul.sub-menu {
                top: 20px;
            }
            
            /* view_count color on blog
            header.entry-header span#view_count.highlight{
            //font-size: 15px;
            //font-weight: bold;
            color: white;
            background-color: #4a89c3;
            }
            */
            
            /*remove adsense auto top*/
            @media only screen and (min-width: 992px) {
            div.google-auto-placed {
            //display: none;
            }
            }
            
            /* remove meta-nav in bbpress */
            .bbpress ul.default-wp-page {
            display: none;
            }
            
            /* date remove*/
            div.date{
            display:none;
            }
            
            /* bbpress freshness\' last column modify on mobile with no-header*/
            @media only screen and (max-width: 420px) {
            #bbpress-forums li.bbp-header li.bbp-topic-title {
            width: 20%;
            }
            /* last column -item*/
            #bbpress-forums li.bbp-header li.bbp-topic-freshness {
                width: 20%;
            float: right;
            }
            /* content title */
            #bbpress-forums li.bbp-body li.bbp-topic-title {
            width: 60%;
            }
            /* avartar title */
            #bbpress-forums li.bbp-body li.bbp-topic-freshness {
            width: 30%;
            float: right;
            }
            	
            		/*facebook page */
            	.site-footer-section {
              margin-left:-10px;
            }
            	/* below search field size*/
            		.search-form
            	 .search-field {
            		width:255px;
            		 padding-left:10px;
            		 color: #666;
            	}
            	
            }
            
            /* below search field size for desktop*/
            	 .search-field::placeholder  {
            		 background: #ffffff !important;
            	}
            .search-field {
            		 background: #61ce70 !important;
            	}
            
            /* modify on mobile */
            @media only screen and (max-width: 768px) {
            	
            	.ast-advanced-headers-wrap, .ast-advanced-headers-title {
               		font-size:1.2em;
            }
            	.site-title a{
            		font-size:0.6em;
            	}
            	
            	
            /* bbpress forum layout modify modify on mobile with no-header*/
            body.cleanpage {
                padding-top: 0px;
               margin-top: 0px;
            }
            body.cleanpage .mob-menu-header-holder  {
            display:none;
            }
            	
            	/*footer widget for max769by*/
            	/* widget-footer left margin in mobile*/
            	.footer-widget-area[data-section="section-fb-html-1"] .ast-builder-html-element {
             //	margin-left:20px;
            	}
            
            }
            
            /*footer widget for desktop*/
            input#bbp_search {
             background-color : #d1d1d1;    
            }
            
            /* bbpress ad. margin*/
            .ns-dhvo5-l-tall-banner {
            margin-bottom: 50px;
            }
            
            span#view_count.highlight {
                font-size: 15px;
                //font-weight: bold;
                color: white;
                background-color: #800020;
            }
            
            
            답변: 비공개: [wordpress] astra에서 view count #12518
            mimoon
            키 마스터

              Astra Pro인경우 Custom Layouts에서 hook을 통해서도 가능.

              답변: 비공개: [css] astra 최종 css #12390
              mimoon
              키 마스터

                모바일 메뉴에 검색 필드 삽입 시 상단 간격

                
                /*mobile menu margin*/
                .ast-header-break-point .ast-builder-menu-mobile .main-navigation {
                //margin-top: -30px;
                }
                
                답변: 비공개: [css] astra 최종 css #12384
                mimoon
                키 마스터
                  wp mobible 메뉴용
                  /* mobile menu search form */
                  	
                  /* mobile search input field*/
                  ul.rightmtop input.search-field {
                  // position: absolute;
                    width:130px;
                    height:37px;
                    margin-left: -33px;
                      font-size: 14px;
                  }
                  
                  /* mobile bottom search field input */
                  	h2.widgettitle {
                    margin-left:-55px;
                      font-size: 14px;
                  		padding-bottom:10px;
                  }
                  ul.rightmtop input.search-submit{
                  display: block;
                  float: right;
                    width: 70px;
                  height: 35px;
                  margin-right: 18px;
                     margin-top: 0px;
                  border-radius: 0px;
                  padding-left:0px;
                  padding-right:0px;
                     font-size: 14px;
                  text-align: center;
                  }
                  
                  #bbp_search_widget-3 h2.widgettitle {
                    margin-left: 0px;
                      font-size: 14px;
                  }
                  
                  ul.rightmbottom input#bbp_search {
                  position: absolute;
                   width:131px;
                  height: 35px;
                    margin-bottom: 5px;
                    margin-left: -55px;
                      font-size: 14px;
                  padding-left:0px;
                  }
                  ul.rightmbottom input#bbp_search_submit.button {
                  display: block;
                  float: right;
                     font-size: 14px;
                      height: 35px;
                      padding: 0px 10px;
                  text-align: center;
                    width: 67px;
                     margin-top: 0px;
                     margin-left: 0px;
                     margin-right: 0px;
                  border-radius: 0px;
                  }
                  
                  답변: 비공개: [css] astra 최종 css #12350
                  mimoon
                  키 마스터

                    for astra mobile menu 2021-03-04

                    `
                    /* modify on mobile */
                    @media only screen and (max-width: 768px) {

                    .ast-advanced-headers-wrap, .ast-advanced-headers-title {
                    font-size:1.2em;
                    }
                    .site-title a{
                    font-size:0.6em;
                    }

                    /*mobile menu margin*/
                    .ast-header-break-point .ast-builder-menu-mobile .main-navigation {
                    margin-top: -30px;
                    }

                    /* bbpress search pack on mobible menu*/
                    section#bbp_search_widget-7.widget.widget_display_search{
                    margin-left:38px;
                    }
                    h2.widget-title{
                    margin-left:-20px;
                    font-size:14px;
                    }

                    }

                    답변: 무지개가 그 무지개인가? #11245
                    mimoon
                    키 마스터
                      mimoon
                      키 마스터

                        응용: 메뉴 상에서는 링크만 구현되고 메뉴 이름을 ID/Name으로 표현할 수가 없음(menu shortcode이든 사용자 정의이든). Function.php에서 아예 응용을 함. 링크 텍스트를 비워두는 숏코드를 구현함으로 그 빈 곳에 대표 이름(display_name) 채우기.

                        
                        		/**
                        	 * Generate BBpress Get Profile Link in a shortcode
                        	 *
                        	 * @param $atts2, text|class
                        	 * @example 
                        	 * application: if text empty show display_name
                        	 * @return string|void
                        	 *
                        	 */
                        function bbp_get_profile_link( $atts2 ) {
                        //If user isn't logged in, return nothing
                        		if(!is_user_logged_in()) {
                        			return;
                        		} else {
                        			extract( shortcode_atts( array(
                        				                         'text'  => "",  // default value if none supplied
                        				                         'class' => "" //Style class for link
                        			                         ), $atts2 ) );
                        			if ( $text ) {
                        				$current_user = wp_get_current_user();
                        				$user         = $current_user->user_login;
                        				return '<a href="' . bbp_get_user_profile_url($current_user->ID). '">' . $text . '</a>';
                        			} else {
                        				$current_user = wp_get_current_user();
                        				//$user         = $current_user->user_login;
                        				$display_name = $current_user->display_name;
                        				return '<a href="' . bbp_get_user_profile_url($current_user->ID). '">' .'&#x26EF; '. $display_name. '</a>';
                        			}
                        
                        		}
                        	}
                        	add_shortcode( 'bbp_get_profile', 'bbp_get_profile_link' );
                        
                        
                      10 글 보임 - 31 에서 40 까지 (총 54 중에서)