<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>アクションフック &#8211; あとは頼みます。</title>
	<atom:link href="https://tanomimasu.com/archives/tag/%E3%82%A2%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3%E3%83%95%E3%83%83%E3%82%AF/feed" rel="self" type="application/rss+xml" />
	<link>https://tanomimasu.com</link>
	<description>ここまでは考えたので…</description>
	<lastBuildDate>Tue, 27 Apr 2021 14:40:49 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.3</generator>

<image>
	<url>https://tanomimasu.com/wp-content/uploads/2020/10/cropped-20201018100056-32x32.png</url>
	<title>アクションフック &#8211; あとは頼みます。</title>
	<link>https://tanomimasu.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>【作画】Snowmonkey　ヘッダー部に画像を追加</title>
		<link>https://tanomimasu.com/archives/22838</link>
					<comments>https://tanomimasu.com/archives/22838#respond</comments>
		
		<dc:creator><![CDATA[SOTOBORI]]></dc:creator>
		<pubDate>Tue, 27 Apr 2021 14:23:31 +0000</pubDate>
				<category><![CDATA[作画]]></category>
		<category><![CDATA[Snow Monkey]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[アクションフック]]></category>
		<category><![CDATA[レスポンシブ化]]></category>
		<guid isPermaLink="false">https://tanomimasu.com/?p=22838</guid>

					<description><![CDATA[どうやら２ヶ月ぶりに更新。wordpressを久々に触ると何かと仕様が変わっていて、変更した箇所を確認するだけで大変。 ロゴデザイン 以下の画像を、ヘッダー部に追加してみたりして気分転換。 以前に撮った写真にKeynot [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>どうやら２ヶ月ぶりに更新。wordpressを久々に触ると何かと仕様が変わっていて、変更した箇所を確認するだけで大変。</p>



<h3>ロゴデザイン</h3>



<p>以下の画像を、ヘッダー部に追加してみたりして気分転換。</p>



<figure class="wp-block-image size-large"><img width="1024" height="341" src="https://tanomimasu.com/wp-content/uploads/2021/04/toptop.001-1024x341.jpeg" alt="" class="wp-image-22807" srcset="https://tanomimasu.com/wp-content/uploads/2021/04/toptop.001-1024x341.jpeg 1024w, https://tanomimasu.com/wp-content/uploads/2021/04/toptop.001-300x100.jpeg 300w, https://tanomimasu.com/wp-content/uploads/2021/04/toptop.001-150x50.jpeg 150w, https://tanomimasu.com/wp-content/uploads/2021/04/toptop.001-768x256.jpeg 768w, https://tanomimasu.com/wp-content/uploads/2021/04/toptop.001-1536x512.jpeg 1536w, https://tanomimasu.com/wp-content/uploads/2021/04/toptop.001-1920x640.jpeg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>以前に撮った写真にKeynoteで文字を入れだだけ。</p>



<p>フォントはF5.6と筑紫A丸ゴシック。サイズは6000×800で作ったけど、デカすぎかも。</p>



<p>ピクトサインはpictogram2.com様の素材を利用。</p>



<p><div class="wp-oembed-blog-card" data-cached-time="22/08/21 04:43:23"><a href="http://pictogram2.com/" target="_blank" data-wpel-link="external" rel="nofollow external noopener noreferrer"><div class="wp-oembed-blog-card__body"><div class="wp-oembed-blog-card__title">human pictogram 2.0 (無料人物 ピクトグラム素材 2.0)</div><div class="wp-oembed-blog-card__description">人間ピクトグラム素材のギャラリー</div><div class="wp-oembed-blog-card__domain">pictogram2.com</div></div></a></div></p>



<h3>アクションフック</h3>



<p>ヘッダー部に何かを入れる場合は、フックで&#8221;snow_monkey_prepend_contents&#8221;をmy snow monkeyの構文に入れてやると良いらしい。以下のように挿入。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-lang="PHP"><code>add_action(
    &#39;snow_monkey_prepend_contents&#39;,
    function() {
        ?&gt;
        &lt;div class=&quot;c-btn c-btn--block c-hsma-hook-point p-snow_monkey_prepend_contents&quot;&gt;&lt;img src=&quot;URL&quot; &gt;&lt;/div&gt;
        &lt;?php
    }
);</code></pre></div>



<p>どうやら画像にborder-radiusとpaddingがとってあったので、CSSで0指定に</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-css" data-lang="CSS"><code>.c-btn, .snow-monkey-posts__more {
    border-radius: 0;
    padding: 0;
}</code></pre></div>



<h3>レスポンシブ対応</h3>



<p>携帯サイトは非表示で良いと思ったので、CSSで非表示に。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-css" data-lang="CSS"><code>@media (max-width: 1025px) {
.c-btn, .snow-monkey-posts__more
  {
display: none;
}
}</code></pre></div>
]]></content:encoded>
					
					<wfw:commentRss>https://tanomimasu.com/archives/22838/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
