{"id":48,"date":"2003-06-03T19:45:14","date_gmt":"2003-06-03T19:45:14","guid":{"rendered":"http:\/\/fiveforks.com\/jeb\/2003\/06\/banner_vs_description_styles\/"},"modified":"2003-06-03T19:45:14","modified_gmt":"2003-06-03T19:45:14","slug":"banner_vs_description_styles","status":"publish","type":"post","link":"https:\/\/www.fiveforks.com\/jeb\/2003\/06\/banner_vs_description_styles\/","title":{"rendered":"Banner vs. Description Styles"},"content":{"rendered":"<p>I had a problem trying to get the &#8220;building&#8221; link to display correctly in the description. The banner has is an &#8220;id&#8221; style and the description is a &#8220;class&#8221;. The style for the link kept being picked up from the banner and not the description style in the stylesheet. (Too big!)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"buildinglink1.gif\" src=\"\/jeb\/files\/mt\/archives\/buildinglink1.gif\" width=\"317\" height=\"205\" border=\"0\" \/><\/p>\n<p>I had to eliminate the &#8220;span&#8221; from all templates replacing it with its own &#8220;div&#8221;, changing this:<\/p>\n<p>&lt;div id=&#8221;banner&#8221;&gt;<\/p>\n<p>&lt;h1&gt;&lt;a href=&#8221;&lt;$MTBlogURL$&gt;&#8221; accesskey=&#8221;1&#8243;&gt;&lt;$MTBlogName$&gt;&lt;\/a&gt;&lt;\/h1&gt;<\/p>\n<p>&lt;span class=&#8221;description&#8221;&gt;&lt;$MTBlogDescription$&gt;&lt;\/span&gt;<\/p>\n<p>&lt;\/div&gt;<\/p>\n<p>to this:<\/p>\n<p>&lt;div id=&#8221;banner&#8221;&gt;<\/p>\n<p>&lt;a href=&#8221;&lt;$MTBlogURL$&gt;&#8221; accesskey=&#8221;1&#8243;&gt;&lt;$MTBlogName$&gt;&lt;\/a&gt;<\/p>\n<p>&lt;\/div&gt;<\/p>\n<p>&lt;div class=&#8221;description&#8221;&gt;&lt;$MTBlogDescription$&gt;&lt;\/div&gt;<\/p>\n<p>By removing the span tag, the link I created in the description (building) would adopt the correct style. Otherwise, it kept picking up the banner style. I don&#8217;t understand the difference between &#8220;id=&#8221; and &#8220;class=&#8221;&#8230;. something to study.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a problem trying to get the &#8220;building&#8221; link to display correctly in the description. The banner has is an &#8220;id&#8221; style and the description is a &#8220;class&#8221;. The style for the link kept being picked up from the &hellip; <a href=\"https:\/\/www.fiveforks.com\/jeb\/2003\/06\/banner_vs_description_styles\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":0,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}