How to Change the CSS Style, Font, Spacing, Alignment and Color of WordPress Image Captions 전투 근무 지원을 변경하는 방법에 스타일, 글꼴, 간격, 정렬 및 색상의 이미지를 캡션 wordpress

Since WordPress 이후 wordpress version 2.6 버전 2.6 , WordPress has added a built-in shortcode, “Caption”, which will be automatically rendered and translated into standard HTML CSS code to display the caption for the photo or image, which saved via media uploader, beneath it. , wordpress가 추가하는 기본 -이 단축 코드, "캡션"로 번역된다 표준 전투 근무 지원 코드를 자동으로 렌더링과 캡션은 사진이나 이미지를 표시할 수있는 매체를 통해 저장된 업로더 바로 아래합니다.

However, when WordPress appends the DIV styles to print the caption title under the picture or image, WordPress makes use of default alignment, color, font, spacing, and other styling attributes to display the image captions. 그러나, 사단 스타일을 인쇄하는 경우 추가 wordpress 캡션 제목 아래의 사진이나 이미지, wordpress를 사용의 기본 정렬, 색상, 글꼴, 간격, 기타 디자인 특성을 표시하는 이미지를 캡션을합니다.

The default CSS styles for image with the caption may potentially breaks the blog or web page layout, does not validate against W3C xHTML standard, appears too closely with the text with no spacing in the post or page, or does not align as author’s wish. 캡션이있는 스타일을 이미지의 기본 전투 근무 지원의 블로그 또는 웹 페이지 나누기 5 월 잠재적인 레이아웃, 검증되지 않습니다 w3c xhtml 표준, 너무 밀접하게 나타납니다 간격과 같은 텍스트가없는 페이지에 게시하거나, 또는 정렬되지 않습니다으로 저자의 wish.

For blogger who wants to modify the CSS styles of the caption that shows the image captions on screen after parsing the shortcode, add the following CSS code into the active theme’s style.css file: 블로그의 스타일을 원하는 사람의 캡션을 수정하는 전투 근무 지원 자막을 화면을 보여주는 이미지를 단축 코드의 구문을 분석 후, 추가 코드를 다음과 같은 전투 근무 지원 활동 테마의 style.css 파일 :

/* Captions */ / * 자막 * /
.aligncenter, 합니다. aligncenter,
div.aligncenter { div.aligncenter (
display: block; 디스플레이 : 블록;
margin-left: auto; 마진 - 왼쪽 : 자동;
margin-right: auto; 마진 - 오른쪽으로 : 자동차;
} )

.wp-caption { 합니다. 백린 - 캡션 (
border: 1px solid #ddd; 국경 : 1px 고체 # 대행 서비스;
text-align: center; 텍스트 - 정렬 : 센터;
background-color: #f3f3f3; 배경 - 색상 : # f3f3f3;
padding-top: 4px; 여백 - 위쪽 : 4px;
margin: 10px; 마진 : 10px;
-moz-border-radius: 3px; - moz - 국경 - 반경 : 3px;
-khtml-border-radius: 3px; - khtml - 국경 - 반경 : 3px;
-webkit-border-radius: 3px; - webkit - 국경 - 반경 : 3px;
border-radius: 3px; 국경 - 반경 : 3px;
} )

.wp-caption img { 합니다. 백린 - 캡션 공간 (
margin: 0; 마진 : 0;
padding: 0; 패딩 : 0;
border: 0 none; 국경 : 0 없음;
} )

.wp-caption p.wp-caption-text { 합니다. 백린 - 캡션 p.wp - 캡션 - 문안 (
font-size: 11px; 글꼴 - 크기 : 11px;
line-height: 17px; 라인 - 높이 : 17px;
padding: 0 4px 5px; 패딩 : 0 4px 5px;
margin: 0; 마진 : 0;
} )
/* End captions */ / * 마지막 자막을 * /

Above HTML CSS declaration is taken from WordPress 2.6 default theme. 위의 html 전투 근무 지원 선언은 wordpress 2.6에게서 기본 테마합니다. These newly added CSS styles are used to control and assign the appearance of the caption for the image posted on blog. 전투 근무 지원이 새로 추가된 컨트롤 및 할당하는 방식을 사용하여 이미지의 캡션의 모양을 블로그에 게시합니다. Modify the code above in “style.css” file according to your own preference to have your own design and look. 위의 코드 수정 "style.css"파일을 자신의 취향에 따라 자신의 디자인과 봐을합니다.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 중요 사항 : 이것은 기계 번역 페이지는 "있는 그대로"제공하지 않고 보증합니다. Machine translation may be difficult to understand. 기계 번역을 이해하기 어려울 수있습니다. Please refer to 를 참조하시기 바랍니다 original English article 원래 영어 자료 whenever possible. 언제 수있습니다.

Share and contribute or get technical support and help at 를 공유하고 기술 지원 및 도움을 공헌하지 않는다면 My Digital Life Forums 내 디지털 라이프 공개 토론 . 합니다.



One Response to “How to Change the CSS Style, Font, Spacing, Alignment and Color of WordPress Image Captions” 하나의 대응책을 "스타일을 변경하는 방법에 전투 근무 지원, 글꼴, 간격, 정렬 및 색상의 wordpress 이미지를 자막을"

  1. Mark LaFlamme 마크 laflamme
    July 20th, 2008 10:05 2008년 7월 20일 10:05
    1

    For the life of me, I cannot get captions to work. 의 생명을 위해 나를 자막을 작동도록 할 수 없다고합니다. It looks great in preview, but live, all the code spills out around the photo and there’s no caption at all. 미리보기 멋져 보이지만,하지만 라이브, 모두의 코드를 유출 아웃 주위에 사진과 캡션 전혀없습니다. I added the caption code to my theme’s style.css but there was no change. 자막의 코드를 추가했는데, 내 테마의 style.css 있었지만 변경 사항이없습니다. Seems like I’m just one minor step away from making this work. 나는 단지 한 것 같아이 작품을 마이너에서 떨어져요. If anyone has any ideas, I’d love to hear them. 누군가에는 어떤 아이디어, 난 사랑을 들으시오. I’ll add a caption to my first post to demonstrate. 제가 캡션을 추가하는 첫 번째 게시물을 입증합니다.

Leave a Reply 남길 회신

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이 태그를 사용할 수있습니다 : <a href="" title=""> <acronym title=""> <abbr title=""> <blockquote cite=""> <b> <cite> <code> <델 날짜 = ""> <em> <i> <strike> '<q cite="">

Subscribe without commenting 논평없이 구독 신청
이메일


Custom Search

New Articles 새로운 기사

Incoming Search Terms for the Article 이 문서에 대한 검색어를 수신

css font-spacing 글꼴 - 간격을 전투 근무 지원 - - font-spacing css 글꼴 - 간격을 전투 근무 지원 - - font-spacing 글꼴 - 간격을 - - css font spacing 글꼴 간격을 전투 근무 지원 - - change font code 글꼴을 변경 코드를 - - wp-caption 백린 - 캡션 - - wp-caption css 백린 - 캡션 전투 근무 지원 - - font spacing in css 글꼴 간격을 전투 근무 지원 - - css spacing 간격을 전투 근무 지원 - - font spacing css 글꼴 간격을 전투 근무 지원 - - change font codes 글꼴을 변경 코드를 - - wp-caption style 백린 - 캡션 스타일 - - css font align 전투 근무 지원 글꼴 정렬 - - how to change font spacing 글꼴 간격을 변경하는 방법 - - Change Text Style 텍스트 스타일 변경 - - change css 전투 근무 지원 변경 - - wp-caption-text 백린 - 캡션 - 텍스트를 - - wordpress 2.6 caption css wordpress 2.6 캡션 전투 근무 지원 - - wordpress fonts wordpress 글꼴 - - font alignment 글꼴 정렬 - - css style font 전투 근무 지원 스타일 글꼴 - - WP caption CSS 백린 캡션 전투 근무 지원 - - wordpress image caption css wordpress 이미지의 캡션 전투 근무 지원 - - change font spacing 글꼴을 변경 간격을 - - photo gallery image change css 포토 갤러리 이미지를 변경 전투 근무 지원 - - css alignment 정렬 전투 근무 지원 - - css font color code 전투 근무 지원 글꼴 색상 코드 - - font align codes 정렬 코드를 폰트 - - css change font color 전투 근무 지원 글꼴 색상 변경 - - changing font color css 글꼴 색상을 변경 전투 근무 지원 - - change font CSS 글꼴을 변경 전투 근무 지원 - - wordpress 图片样式 wordpress图片样式 - - html codes alignment spacing and font html 코드를 정렬 및 글꼴 간격을 - - how to change image border colours in css 이미지 테두리 색상을 변경하는 방법에 전투 근무 지원 - - css aligntment aligntment 전투 근무 지원 - - how to change text style in css 텍스트 스타일을 변경하는 방법에 전투 근무 지원 - - wordpress style caption wordpress 스타일 캡션 - - wordpress caption CSS wordpress 캡션 전투 근무 지원 - - css styling wordpress captions 스타일링 wordpress 자막을 전투 근무 지원 - - wordpress font color wordpress 글꼴 색상 - - how to chang font styles in vista 글꼴 스타일의 비스타하는 방법을 장 - - wordpress change css wordpress 변경 전투 근무 지원 - - css change font 전투 근무 지원 글꼴 변경 - - image spacing css 이미지를 간격을 전투 근무 지원 - - m6 m6 - - css style changer 전투 근무 지원 스타일 교환기 - - how to change font and colour in photo comment titles 사진 글꼴과 색상을 변경하는 방법을 설명 제목 - - change left aligned wordpress 왼쪽 정렬 변경 wordpress - - change wordpress title font wordpress 제목 글꼴 변경 - - how to change font css of div 사단 전투 근무 지원의 글꼴을 변경하는 방법 - -