[Blogger] 付費範本怎麼改instagram大小

看板Blog (部落格)作者 (Azumayo)時間7年前 (2017/12/02 20:09), 7年前編輯推噓1(104)
留言5則, 2人參與, 7年前最新討論串1/1
前幾天買了一個付費範本,但自己的ig拍照都是用電腦上傳不是正方形的 所以套用之後位置都有點跑掉,進去看html似乎是用instagram feed網頁 的app 不過不知道要怎麼改(最下方的IG圖片) 長寬比例都改過了沒什麼反應... <!-- Instagram Widget --> <script type='text/javascript'>//<![CDATA[ var feed = new instagram_feed({ get: 'user', userId: 我的ID, limit:顯示張數, sortBy:'random', accessToken: '我的code', template: '<li><a href="{{link}}" target="_blank"><img src="{{image}}" /><div class="insta-likes"><div style="display: table; vertical-align: middle; height: 100%; width: 100%;"><span style="display: table-cell; vertical-align: middle; height: 100%; width: 100%;">{{likes}} <i class="fa fa-heart"></i><br/>{{comments}} <i class="fa fa-comment"></i></span></div></div></a></li>', resolution: 'standard_resolution' }); feed.run(); //]]> </script> <!-- Instagram Widget End--> 如圖片 按愛心跟留言的人數跑到上面去了 https://imgur.com/a/CkB6s https://azumayo.blogspot.tw/ -- 吃喝玩樂台中日本女朋友 https://www.instagram.com/ding_dong.jpg/ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.224.82.193 ※ 文章網址: https://www.ptt.cc/bbs/Blog/M.1512216593.A.151.html

12/02 21:18, 7年前 , 1F
妳IG上圖片是598x398 到blogger是157.92x105.1
12/02 21:18, 1F

12/02 21:18, 7年前 , 2F
我看起來比例是對的阿, 不知道妳說哪裡不對?
12/02 21:18, 2F
補上圖片了 ※ 編輯: grlie8027 (36.232.139.212), 12/02/2017 22:21:38

12/03 09:39, 7年前 , 3F
#instagram_feed .insta-likes{中的margin-top:-100%;
12/03 09:39, 3F

12/03 09:41, 7年前 , 4F
改為margin-top:-66%;
12/03 09:41, 4F

12/03 10:31, 7年前 , 5F
感謝大大 可以了!!
12/03 10:31, 5F
文章代碼(AID): #1Q8fWH5H (Blog)
文章代碼(AID): #1Q8fWH5H (Blog)