aclassifier
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twelve] Increasing the relative size of for in-line codeTHE TITLE WAS POSTED AS
“Increasing the relative size of <tt> in-line code”
but I guess the brackets were removed. I just paste the post again, this time decorated properly I hope:
When I add code parts on a line I use <tt>global.h</tt> (from the page linked to above). But they appear too small. So I’d like to increase the relative size.
I have tried these in style.css, but none seem to work:
tt.tt {size:"150%"} tt {size:"150%"}I see in https://www.w3schools.com/tags/tag_tt.asp that tt not supported in html5. What’s the best way now to do this? This is for in-line.
For many-lined code I use
<pre>since<code>really doesn’t seem to work(?)Forum: Plugins
In reply to: [Collapse-O-Matic] Wanting Google to index also contents of foldsThank you. Good solutions!
Forum: Plugins
In reply to: [Collapse-O-Matic] Wanting Google to index also contents of foldsGreat, so I don’t have to set Initial to anything.
I meant the browser’s search. I guess there isn’t anything you could do with that, as what is in the data base and what’s in the browser isn’t the same thing when the folds are collapsed. Or..?
- This reply was modified 8 years, 6 months ago by aclassifier.
Forum: Plugins
In reply to: [Collapse-O-Matic] Code example snippets with “expand” not expandGreat! This is really good to know!
Forum: Plugins
In reply to: [Collapse-O-Matic] Code example snippets with “expand” not expand..recursive problem above! It was < pre > and < code > …
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline on certain linksProblem is we don’t and will never have WordPress-theme-name conditional tag in CSS
As having coded embedded applications for some 35 years I could not agreed more! With Pascal, Modula 2, occam etc. the languages didn’t have that kind of possibility. Then we started with C and it’s easy to fall. But newer languages like go also are nice, no preprocessor etc.
So, sound design WordPress! That’s why I said, in the survey, as the main reason I am using it: “WordPress works”.
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline on certain linksBy the way, is there a way in CSS to make it general with macros, or could this be wrapped in PHP or JavaScript? I have written it up in C_CSS here, as if that were a language, with some assumed semantics of text-decoration and border. Also, is there some define here for the theme chosen? But then, the style.css wouldn’t like anything else than CSS, would it? Also, why in the world would the use of CSS differ for different themes? Will my other CSS examples also differ? Wouldn’t one use the freshest html always?
#if TWENTY_TWELVE a.a_link_no_underline { text-decoration: none;} #elif defined TWENTY_FIFTEEN a.a_link_no_underline { border: none;} #else a.a_link_no_underline { border: none;} #endif- This reply was modified 8 years, 6 months ago by aclassifier.
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline on certain linksIt was (blush)! Thanks!
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline on certain linksInteresting!
If I add this in my style.css:
a.a_link_no_underline { text-decoration: none; /* border: none; */ }and use it like this:
<a class="a_link_no_underline" href="http://www.teigfam.net/oyvind/home/nokkelversene/">Test</a>then the underline is still present. What do I do wrong?
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline on certain linksThanks! I didn’t imagine that there would be different solutions for the two themes. Not very portable, is it? Could I have made the difference in the child css, like define a class_link_no_underline defined there instead of just a local empty class?
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Remove underline on certain linksIt didn’t work for me. See bottom of [1]. I have Twently Twelve with a child css (pasted below, but I don’t see that it would change link properties). The CSS elements are described at [2].
The html you you had suggested is changed by WordPress to:
<a class="" style="border: none;" href="#">test link</a>
but I guess it’s parsed at the end of line, so sequence isn’t important(?)[1] http://www.teigfam.net/oyvind/home/nokkelversene/144-nokkelverset/
[2] http://www.teigfam.net/oyvind/home/technology/061-wordpress/@import url("../twentytwelve/style.css"); /* Thanks to paulwpxp 2013 07 26 */ /* ----- blockquote reduce space ----- */ .entry-content blockquote, .comment-content blockquote { padding-top: 0; padding-bottom: 0; } /* ----- h2 color ----- */ .entry-content h2 { color: #ff0000; } /* Thanks to Chris Rockwell 2013 08 14 at [email protected] */ /* Make Reference ordered list as [x] */ ol.ol_href { list-style-type: none; counter-reset: section; padding-left: 0; } ol.ol_href li { display: table-row } ol.ol_href li:before { counter-increment: section; content: "[" counter(section) "] "; padding-right: 1em; display: table-cell; } /* Thanks to WPyogi 2013 11 18 */ p.p_vline_left_gray { border-left: 1px solid #C0C0C0; margin-left: 10px; padding-left: 10px; } p.p_vline_left_red { border-left: 1px solid #ff0000; margin-left: 10px; padding-left: 10px; } p.p_noline_left { border-left: 0px; margin-left: 10px; padding-left: 10px; } /* Teig 2014 02 03 */ code.code_x_courier { line-height:100%; font-weight:bold; font-family:"Courier"; } code.code_x { line-height:100%; font-weight:bold; } /* Thanks to Andrew av http://ww.wp.xz.cn/support/topic/png-and-gif-images-have-thin-border-around-them */ /* Removes borders around (all?) pictures */ .entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image { box-shadow: none; }- This reply was modified 8 years, 6 months ago by aclassifier.
Forum: Fixing WordPress
In reply to: Ordered lists as [N.x], new code based on CSS for [x]I wish it were.. (But it helps explain what I have, doesn’t it?)
Forum: Themes and Templates
In reply to: [Boardwalk] Not having Featured imageVery clear!
So .com may also be free, courtesy of WordPress, when they include wordpress.com. Like, my single page there is free, which I knew, but didn’t think about.
Thanks for your time and answers!
Forum: Themes and Templates
In reply to: [Boardwalk] Not having Featured imageThanks for the info about “Display on single posts”! It wil be tried!
My daughter’s real page is hosted by one.com; this was just a test we thought. But testing there has more semantic differences that I didn’t know about. Thanks for telling me!
About the difference between wordpress.com and org. I also use one.com to host my page at http://www.teigfam.net/oyvind/home/. I downloaded WordPress to it originally several years ago, I seem to remember. I believe now I had not needed that, but I haven’t changed it.
I also have single page at https://aclassifier.wordpress.com (yes:com) doing nothing
But I still don’t understand if there could in theory be made a page called https://aclassifier.ww.wp.xz.cn (yes:org)? Or does WordPress let all hosting be at .com?
- This reply was modified 8 years, 7 months ago by aclassifier.
- This reply was modified 8 years, 7 months ago by aclassifier.
Forum: Fixing WordPress
In reply to: Multiple menusRef [1] above now not any longer valid as example. The plugin works very well. Thanks.