{"id":10640,"date":"2014-11-18T05:04:53","date_gmt":"2014-11-17T18:04:53","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=10640"},"modified":"2014-11-18T05:04:53","modified_gmt":"2014-11-17T18:04:53","slug":"wordpress-css-change-helped-by-firebug-follow-up-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-css-change-helped-by-firebug-follow-up-tutorial\/","title":{"rendered":"WordPress CSS Change helped by FireBug Follow Up Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/wordpress\/access_css.png\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Wordpress CSS Change helped by FireBug Follow Up Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/wordpress\/access_css.png\" title=\"Wordpress CSS Change helped by FireBug Primer Tutorial\" id='qwpa' onmouseover=' this.src=this.src.replace(\".jpg\",\".PNG\").replace(\".png\",\".jpg\").replace(\".PNG\",\".png\");     ' \/><\/a><p class=\"wp-caption-text\">Wordpress CSS Change helped by FireBug Follow Up Tutorial<\/p><\/div>\n<p>WordPress makes it pretty easy to create blog websites, and you have that inbuilt styling structure inherent in a WordPress theme (this website uses theme TwentyTen) to work with.   When you use a particular WordPress theme you stamp that website with a <i>&#8220;default&#8221;<\/i> personality, but that does not mean you have to stop there.<\/p>\n<p>So today we build on the experiences of the previous <a target=_blank href='#wccfpt' title='Wordpress CSS Change helped by FireBug Primer Tutorial'>WordPress CSS Change helped by FireBug Primer Tutorial<\/a> as shown below and we show how useful Firebug (using the Firefox web browser) can be to make styling changes to your website.   The change is a simple one that introduces a <a target=_blank title='CSS3 linear gradient information from w3schools ... thanks' href='http:\/\/www.w3schools.com\/css\/css3_gradients.asp'>linear gradient<\/a> colour arrangement for the menu.<\/p>\n<p>You often find that you are presented with (styling) problems looking after a website (will include server-side PHP in the list, because am feeling very server-like, it being Friday (every time it is Friday) and all) when there is a choice among:<\/p>\n<ol>\n<li>CSS <span style=\"color: red;\">(best for styling solutions where all the parameters and resources required are static)<\/span><\/li>\n<li>Javascript <span style=\"color: red;\">(can do some (perhaps not all) styling solutions where the parameters are static or dynamic (but only in name, ie. you can&#8217;t create any other resource than an HTML document as a window.open scenario &#8230; you need PHP for all the myriad of other scenarios here))<\/span><\/li>\n<li>HTML <span style=\"color: red;\">(vessel can have both above and with style= for CSS and the events, the CSS and Javascript above can be handled &#8230; but remember the worthy ideas of <a target=_blank title='MVC' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=MVC'>MVC<\/a>)<\/span><\/li>\n<li>PHP <span style=\"color: red;\">(good for all dynamic styling issues, in name and\/or content, because it can write out all three forms above (as well as creating media files) dynamically, and static styling is that little bit of a &#8220;doddle&#8221; easier than the dynamic scenario)<\/span><\/li>\n<li>Javascript\/CSS<\/li>\n<li>HTML\/CSS<\/li>\n<li>HTML\/Javascript<\/li>\n<li>PHP\/HTML<\/li>\n<li>PHP\/Javascript<\/li>\n<li>PHP\/CSS<\/li>\n<li>HTML\/Javascript\/CSS<\/li>\n<li>PHP\/HTML\/CSS<\/li>\n<li>PHP\/HTML\/Javascript<\/li>\n<li>PHP\/Javascript\/CSS<\/li>\n<li>PHP\/HTML\/Javascript\/CSS<\/li>\n<\/ol>\n<p>This tutorial uses the techniques of <a href='#fffmdodah' title='Firefox and Favourite Plugins Tutorial'>Firefox and Favourite Plugins Tutorial<\/a> way below.<\/p>\n<p>This kind of work is carried out by the administrator of a website, or blog, and Firefox and its plugins come in handy for such work, but please know with this, as with many other things in I.T. there are many other ways to do things.<\/p>\n<p>Of great help with the concepts of this tutorial were this <a target=_blank title='Useful' href='https:\/\/wordpress.org\/support\/topic\/twenty-eleven-menu-bar-color'>link<\/a> and this Wikipedia <a target=_blank title='Useful link' href='http:\/\/en.wikipedia.org\/wiki\/Web_colors'>one<\/a> &#8230; so, thanks.<\/p>\n<p>By the way, linear gradients do not work with the Internet Explorer web browser.<\/p>\n<p><strong><em>Did you know?<\/strong><\/em><\/p>\n<p>A CSS file can be viewed (as a piece of text) using the web browser &#8230; in the tutorial down the bottom right of the <a target=_blank  href=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/WordpressCSSChange\/\" title='tutorial slideshow'>first slide<\/a> you will see a link hovered over to do just that &#8230; here it is <a target=_blank title='RJM Programming Blog WordPress TwentyTen style.css here' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/wp-content\/themes\/twentyten\/style.css'>here<\/a>.<\/p>\n<p><strong><em>And, then, did you know?<\/strong><\/em><\/p>\n<blockquote><p>\n#access { background: #FF4500;<br \/>\n  background: -moz-linear-gradient(#FF4500, #A52A2A) repeat scroll 0 0 transparent;<br \/>\n  background: -o-linear-gradient(#FF4500, #A52A2A) repeat scroll 0 0 transparent;<br \/>\n  background: -webkit-gradient(#FF4500, #A52A2A) repeat scroll 0 0 transparent;<br \/>\n  background: -webkit-linear-gradient(#FF4500, #A52A2A) repeat scroll 0 0 transparent;<br \/>\n  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);<br \/>\n  clear: both;<br \/>\n  display: block;<br \/>\n  float: left;<br \/>\n  margin: 0 auto 6px;<br \/>\n  width: 100%;   }\n<\/p><\/blockquote>\n<p>Above is the inclusion into WordPress TwentyTen&#8217;s style.css to make this change or see the differences link <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/wordpress\/style.css-GETME' titlr='style.css'>here<\/a>.<\/p>\n<p>If you are here regarding contextual help you may want to read about <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=11802'>WordPress Blog Submenu Primer<\/a> as the other tutorial regarding this menu area.<\/p>\n<hr \/>\n<p id='wccfpt'>Previous relevant <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=5873' title='Wordpress CSS Change helped by FireBug Primer Tutorial'>WordPress CSS Change helped by FireBug Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/WordpressCSSChange\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Wordpress CSS Change helped by FireBug Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/WordpressCSSChange\/WordpressChangeUsingFirebugFirebug-99of.jpg\" title=\"Wordpress CSS Change helped by FireBug Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Wordpress CSS Change helped by FireBug Primer Tutorial<\/p><\/div>\n<p>WordPress makes it pretty easy to create blog websites, and you have that inbuilt styling structure inherent in a WordPress theme (this website uses theme TwentyTen) to work with.   When you use a particular WordPress theme you stamp that website with a <i>&#8220;default&#8221;<\/i> personality, but that does not mean you have to stop there.<\/p>\n<p>So today we build on the experiences of the previous <a target=_blank title='Wordpress Change Primer Tutorial' href='#wcpt'>WordPress Change Primer Tutorial<\/a> as shown below and we show how useful Firebug (using the Firefox web browser) can be to make styling changes to your website.   The change is a simple one that when you hover over one of this blog&#8217;s explanatory tutorial images the border colour changes from pink to orange, and it expands a little to give the impression of a tiny bit of animation.   In tutorials to come we will address CSS3 Animation and CSS3 @keyframes Rule to round out more styling thoughts.<\/p>\n<p>You often find that you are presented with (styling) problems looking after a website (will include server-side PHP in the list, because am feeling very server-like, it being Friday (every time it is Friday) and all) when there is a choice among:<\/p>\n<ol>\n<li>CSS <span style=\"color: red;\">(best for styling solutions where all the parameters and resources required are static)<\/span><\/li>\n<li>Javascript <span style=\"color: red;\">(can do some (perhaps not all) styling solutions where the parameters are static or dynamic (but only in name, ie. you can&#8217;t create any other resource than an HTML document as a window.open scenario &#8230; you need PHP for all the myriad of other scenarios here))<\/span><\/li>\n<li>HTML <span style=\"color: red;\">(vessel can have both above and with style= for CSS and the events, the CSS and Javascript above can be handled &#8230; but remember the worthy ideas of <a target=_blank title='MVC' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=MVC'>MVC<\/a>)<\/span><\/li>\n<li>PHP <span style=\"color: red;\">(good for all dynamic styling issues, in name and\/or content, because it can write out all three forms above (as well as creating media files) dynamically, and static styling is that little bit of a &#8220;doddle&#8221; easier than the dynamic scenario)<\/span><\/li>\n<li>Javascript\/CSS<\/li>\n<li>HTML\/CSS<\/li>\n<li>HTML\/Javascript<\/li>\n<li>PHP\/HTML<\/li>\n<li>PHP\/Javascript<\/li>\n<li>PHP\/CSS<\/li>\n<li>HTML\/Javascript\/CSS<\/li>\n<li>PHP\/HTML\/CSS<\/li>\n<li>PHP\/HTML\/Javascript<\/li>\n<li>PHP\/Javascript\/CSS<\/li>\n<li>PHP\/HTML\/Javascript\/CSS<\/li>\n<\/ol>\n<p>This tutorial uses the techniques of <a href='#fffmdodah' title='Firefox and Favourite Plugins Tutorial'>Firefox and Favourite Plugins Tutorial<\/a> way below.<\/p>\n<p>This kind of work is carried out by the administrator of a website, or blog, and Firefox and its plugins come in handy for such work, but please know with this, as with many other things in I.T. there are many other ways to do things.<\/p>\n<p><strong><em>Did you know?<\/strong><\/em><\/p>\n<p>A CSS file can be viewed (as a piece of text) using the web browser &#8230; in the tutorial down the bottom right of the <a target=_blank  href=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/WordpressCSSChange\/\" title='tutorial slideshow'>first slide<\/a> you will see a link hovered over to do just that &#8230; here it is <a target=_blank title='RJM Programming Blog WordPress TwentyTen style.css here' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/wp-content\/themes\/twentyten\/style.css'>here<\/a>.<\/p>\n<p><strong><em>And, then, did you know?<\/strong><\/em><\/p>\n<blockquote><p>#content img:hover {<br \/>\n\tborder: 17px solid orange !important;<br \/>\n}\n<\/p><\/blockquote>\n<p>Above is the inclusion into WordPress TwentyTen&#8217;s style.css to make this change.   Note the use of <i>!important<\/i> which can, occasionally, be the only way to buck the true CSS cascading hierarchy system.   So this usage may be maligned as a <i>kludge<\/i> because this technique bucks the essence of how CSS should work.   However, am sure others can come up with a better idea &#8230; one that immediately springing to mind would involve using id= on all of these images, or you can define more than one class, in (the HTML, for) CSS (use), for any HTML element group, but sadly, didn&#8217;t start using any\/all of these preferable regimes all those months ago (only <i>snaps<\/i> for <i><b>planners<\/b><\/i>) &#8230; unchortle, unchortle.<\/p>\n<hr \/>\n<p id='wcpt'>Previous <a target=_blank title='Wordpress Change Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3372'>WordPress Change Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/Followup\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Wordpress Change Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/Followup\/Firebug_Fireftp_Followup-76of.jpg\" title=\"Wordpress Change Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Wordpress Change Primer Tutorial<\/p><\/div>\n<p>Often get asked what <a target=_blank title='CMS information by Wikipedia' href='https:\/\/en.wikipedia.org\/wiki\/Content_management_system'>CMS<\/a> is this?    Answer is <a target=_blank title='Wordpress' href='http:\/\/wordpress.org'>WordPress<\/a>.<\/p>\n<p>Then often get asked what <a target=_blank title='Theme (computer) iformation from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Theme_%28computer%29'>theme<\/a> is it using?     Answer is default WordPress theme Twenty Ten.<\/p>\n<p>Finally we have a tutorial where this is relevant!    Yayyyyyyyyyyyyyyyyyyyyyyyyy!!!!!!<\/p>\n<p style=\"color:red; font-size:9px;\">In what follows * = as seen when all posts showing.<\/p>\n<p>We are doing a <a target=_blank title='Wordpress Change Primer Tutorial' href=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/Followup\/\">tutorial<\/a> here where we make a change to our WordPress website&#8217;s CSS style.    Am going to change a heading colour from black to dark blue (of the Google icon) on this blog *.   The smart alecs or should that be silly alecs (how come Alec has such a tortured time?!) who say this is already done can laugh away, and indeed be correct, because you are seeing the website changed &#8230; so if you have been here below &#8230; &#8220;once upon a time there lived a modest little website &#8230; it had black subheadings, but one day dreamed of the day when all its subheadings would become a blue * &#8230; the shade of blue sky, blue water &#8230;. and then it came to pass that there was a travelling computer  I.T. pilgrim passing by that website &#8230; and what did they behold &#8230; yayyyyyyyyyyy &#8230; a black subheadinged website * &#8230; and the wind that day brought a message &#8230; a plea &#8230; &#8216;Whoever shall make my subheadings blue * they shall inherit the secret of the pond near the mote across from the river. Ooooh OoooooOhhhh&#8217; &#8230; and so it came to pass that the Intel Chip was invented &#8230; but I digress &#8230; zzzzz zzzzzz zzzzzzzzzzzzzzzzzzzz &#8230; hang on, what was an I.T. pilgrim doing in I.T. without the Intel Chip?&#8221;<\/p>\n<p>To find the colour of the Google icon am going to use techniques of <a href='#dcmdodah' title='Digital Colour Meter on Mac Laptop Tutorial'>Digital Colour Meter on Mac Laptop Tutorial<\/a> below.<\/p>\n<p>Other parts of the tutorial use the techniques of <a href='#fffmdodah' title='Firefox and Favourite Plugins Tutorial'>Firefox and Favourite Plugins Tutorial<\/a> way below.<\/p>\n<p>This kind of work is carried out by the administrator of a website, or blog, and Firefox and its plugins come in handy for such work, but please know with this, as with many other things in I.T. there are many other ways to do things.<\/p>\n<hr \/>\n<p id=\"fffmdodah\">Below see   <a target=_blank title='Firefox and Favourite Plugins Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=440'>Firefox and Favourite Plugins Tutorial<\/a> &#8230;<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/iFrame.html\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Firefox and Favourite Plugins Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Firefox\/Firefox.jpg\" title=\"Firefox and Favourite Plugins Tutorial\" \/><\/a><p class=\"wp-caption-text\">Firefox and Favourite Plugins Tutorial<\/p><\/div>\n<p><a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/Firefox\/iFrame.html'>Tutorial<\/a> &#8230;<\/p>\n<p><strong><\/p>\n<p>Transcript:<\/p>\n<p><\/strong><\/p>\n<p>One of the best tools for Web Development is an HTML element analyzer.<\/p>\n<p>There are a few out there by now, but I really like Firebug from <a target=_blank href='http:\/\/getfirebug.com\/'>http:\/\/getfirebug.com\/<\/a><\/p>\n<p>Both these great tools are plugins for my favourite Web browser Firefox from<br \/>\n    <a target=_blank href='http:\/\/www.mozilla.org\/en-US\/firefox\/new\/'>http:\/\/www.mozilla.org\/en-US\/firefox\/new\/<\/a><\/p>\n<p>Another important tool for Web Development is an ftp application like FireFTP from<br \/>\n    <a target=_blank href='http:\/\/fireftp.net\/'>http:\/\/fireftp.net\/<\/a><\/p>\n<p>So let&#8217;s have a look at Firefox, briefly, and Firebug and FireFTP &#8230;\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d440' onclick='var dv=document.getElementById(\"d440\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Firefox\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d440' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d5873' onclick='var dv=document.getElementById(\"d5873\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=60\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d5873' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d10640' onclick='var dv=document.getElementById(\"d10640\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=CSS\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d10640' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress makes it pretty easy to create blog websites, and you have that inbuilt styling structure inherent in a WordPress theme (this website uses theme TwentyTen) to work with. When you use a particular WordPress theme you stamp that website &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/wordpress-css-change-helped-by-firebug-follow-up-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[276,281,282,318,327,438,439,622,997,1209,1319,1407,1456],"class_list":["post-10640","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-cross-browser-issues","tag-css","tag-css3","tag-design","tag-did-you-know","tag-firebug","tag-firefox","tag-internet-explorer","tag-programming","tag-style","tag-tutorial","tag-web-design","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/10640"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=10640"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/10640\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=10640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=10640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=10640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}