We’re revisiting WordPress Bullet Point CSS Styling Primer Tutorial as shown below, today. WordPress Blog websites are often based on a theme and the theme used for this one is called Twenty Ten. The theme helps you out with PHP templates to give a great foundation for the styling of your website, with a wonderful default look, but that doesn’t mean you have to stop there. Today the styling area of interest we are revisiting is to do with bullet point lists which we add some non-default styling to via …
- CSS styling to HTML ul (parent) li (child) (bullet point) arrangements that have no pre-existing styling, involving style parameters …
- CSS styling to HTML ul (parent) li (child) (bullet point) arrangements that have no pre-existing styling, involving style parameters …
- PHP WordPress Blog header.php onload logic (with some randomizing code) to allow such styling to ul (parent) elements that have no classname yet or are one of Recent Posts, the code for which you can see below
… and this time we are making use of a great resource for Emoji unicode characters, and others of a similar ilk, at the excellent link here … thanks for this information. It brightens up the website, and we believe it can facilitate learning to have a bright presentation.
So we change the usual (WordPress blog PHP) suspect … header.php … to have …
$wsarray = array("", "01F311", "0026F3", "0026BD", "00263C", "00263D", "00263E", "01F311", "0026F3", "0026BD", "0026f5", |
… rather than (what we had below with) … |
$ws = rand(0, 10); |
Enjoy today’s tutorial.
Previous relevant WordPress Bullet Point CSS Styling Primer Tutorial is shown below.
WordPress Blog websites are often based on a theme and the theme used for this one is called Twenty Ten. The theme helps you out with PHP templates to give a great foundation for the styling of your website, with a wonderful default look, but that doesn’t mean you have to stop there.
Today we address the bullet point lists which we add some non-default styling to via …
Think it is good to draw attention to bullet point lists because they represent an orderly approach to the blog post’s topic area that many users trying to figure things out would often appreciate, and hone in on.
This ul (parent) li (child) CSS styling has great application for this WordPress blog, with its header.php changed as per the two bold code blocks below, respectively CSS coding and the Javascript onload functionality to call it into play …
<style>
.
.
.
<?php
$ws = rand(0, 10);
$wsarray = array("", "01F311", "0026F3", "0026BD", "00263C", "00263D", "00263E", "01F311", "0026F3", "0026BD", "0026f5");
$cs = rand(0, 10);
$csarray = array("black", "red", "blue", "purple", "maroon", "teal", "brown", "orange", "olive", "lime", "green");
if ($wsarray[$ws] != "") {
echo "
ul.noclass {
list-style: none;
}
ul.noclass li:before {
list-style: none;
float: left;
margin-left: -15px;
color: " . $csarray[$cs] . ";
content: '\" . $wsarray[$ws] . " \0000a0';
font-size: 1.2em;
font-weight: bold;
}
ul.noclass li:after {
list-style: none;
color: " . $csarray[$cs] . ";
content: no-close-quote;
font-size: 1.2em;
font-weight: bold;
}
";
}
?>
.
.
.
</style>
function ul_li_noclass() {
var limyli;
var mylis=document.getElementsByTagName("ul");
if (mylis.length > 0) {
for (limyli=1; limyli<mylis.length; limyli++) {
if (mylis[limyli].className == "") {
mylis[limyli].className = "noclass";
} else if (mylis[limyli].className == "iconlist") {
mylis[limyli].className += " noclass";
}
}
}
}
function courseCookies() {
rptwo(); // Recent Post images
ul_li_noclass(); // Alternative to bullet ul/li lists
winit(); // Ajax functionality 26/11/2014 ... slow hover ... not for mobile
checkMarginLeftImages();
.
.
.
}
… where, with last, if you have no Courses <body onload=’ rptwo(); ul_li_noclass(); winit(); checkMarginLeftImages();‘> may suffice here.
Another subject of interest for you that springs to mind are unicode (UTF-8) and HTML Entities Primer Tutorial, and we found the series of webpages very useful for this tutorial.
Our contextual help Javascript source code can be downloaded by wajax.js which changed as per wajax.js for these modifications yesterday and today.
Of great help with this tutorial was this great link … thanks.
If this was interesting you may be interested in this too.
If this was interesting you may be interested in this too.
Wow. Thereβs so a lot information here it hurts my head. Excellent job
This has to be one particular of my favourite posts! And on best of thats its also really useful topic for newbies. thank lots for the info!
Liking the posting.. cheers Isn’t it fantastic once you locate a very good article? Treasure the entry you provided.. Incredibly valuable viewpoint, many thanks for writing..
Get pleasure from the admission you available.. Truly valuable point of view, appreciate your blogging.. Adoring the write-up.. thank you so much Enjoy the admission you presented..
Wonderful site. A lot of helpful info here. I am sending it to several pals ans also sharing in delicious. And of course, thanks in your effort!
I think this web site has got some rattling wonderful information for everyone :D. “Laughter is the sun that drives winter from the human face.” by Victor Hugo.
Only wanna input that you have a very nice internet site , I like the design and style it really stands out.
I do consider all the concepts you’ve offered on your post. They’re really convincing and can definitely work. Still, the posts are very brief for novices. May just you please extend them a bit from subsequent time? Thanks for the post.
I would like to express appreciation to you just for bailing me out of such a matter. Right after searching throughout the world-wide-web and meeting things which were not pleasant, I assumed my entire life was done. Existing without the presence of strategies to the problems you have solved by means of your main article is a serious case, as well as ones that might have badly damaged my career if I hadn’t discovered the website. Your good competence and kindness in dealing with all the details was important. I am not sure what I would have done if I had not come upon such a step like this. I can also at this moment relish my future. Thanks very much for this professional and amazing guide. I will not hesitate to endorse your web site to any person who would need care on this topic.
I am now not positive the place you are getting your info, however great topic. I must spend some time learning much more or working out more. Thank you for excellent information I used to be on the lookout for this info for my mission.
Please let me know if you’re looking for a writer for your site. You have some really great posts and I think I would be a good asset. If you ever want to take some of the load off, I’d love to write some content for your blog in exchange for a link back to mine. Please send me an e-mail if interested. Many thanks!|
indeed, study is having to pay off. I appreciate you giving out your viewpoint.. I value you showing your point of view.. Extremely helpful standpoint, many thanks for sharing with us..
My personal internet browsings seem total.. thanks. Enjoying the thread.. thanks much Great thought processes you possess here.. My browsing efforts seem total.. thank you.