COMING SOON 🚀

채택완료

그누보드 배너관리 플러그인에서 배너 가로 출력하기

index.php 파일에 아래와 같이 입력하니까 배너가 한 줄에 하나씩 세로로 2개가 출력이 됩니다.

배너를 가로로 출력하러면 다른 파일을 수정해야 하는지요. ㅠ

고수님들의 조언 부탁드려요.

2950166227_1705462523.736.png

 

<!--배너출력-->

<div style="width:200px;"><?php echo display_banner('개별', '1'); ?></div>

<div style="width:200px;"><?php echo display_banner('개별', '2'); ?></div>

 

|

답변 1개 / 댓글 1개

채택된 답변
+20 포인트

<div style="display:flex;">
<div style="width:200px;"><?php echo display_banner('개별', '1'); ?></div>

<div style="width:200px;"><?php echo display_banner('개별', '2'); ?></div>

</div>

답변에 대한 댓글 1개

답변을 작성하려면 로그인이 필요합니다.