Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2022-08-19 08:20:01

dos
Member
From: de
Registered: 2014-05-17
Posts: 41
Website

Back to this charming little CMS

Hey community,

first of, a big thank you to everyone, who keeps TXP going.

I’ve been a TXP user (on and off) for at least 10 years. Always appreciated this simple and reliable piece of software (and internet history!). But for the last years, I’ve been using blot.im for my personal website. Check it out, highly recommended, great founder/developer.

But now I felt like giving TXP another go. I’m not a frontend developer and understanding the logics behind TXP sometimes make my head explode, but after a couple of hours, I got the hang of it (again). So after a day of bending the (great) default template, I got this: ጠechanical bride. Let me know, if you find anything stupid.

Offline

#2 2022-08-19 17:24:32

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,279

Re: Back to this charming little CMS

Nothing stupid, but you might still want to fill some gaps appearing on smaller devices such as phones that are torn by long-ish German terms and the lack of hyphenation on those.

div[itemprop="articleBody"] {hyphens: auto;}

In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2022-08-19 18:47:01

dos
Member
From: de
Registered: 2014-05-17
Posts: 41
Website

Re: Back to this charming little CMS

Thanks for the tip, uli. Can you give me a hand here, where to drop the line (in the CSS, I assume?)

Offline

#4 2022-08-20 05:52:42

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,719
Website

Re: Back to this charming little CMS

dos wrote #333813:

Thanks for the tip, uli. Can you give me a hand here, where to drop the line (in the CSS, I assume?)

Yes. But make sure that all you templates have a lang="de" set on the root element (your frontpage at least has it correctly). That way the browser knows which hyphenation dictionary to use.

Nice clean&simple site, btw.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#5 2022-08-21 23:05:51

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,955
Website

Re: Back to this charming little CMS

dos wrote #333810:

Hey community,

first of, a big thank you to everyone, who keeps TXP going.

So after a day of bending the (great) default template, I got this: ጠechanical bride. Let me know, if you find anything stupid.

what lovely minimal website! And i like the special “M” you added to personalize the title.

PS is the special ጠ font > “ጠ” ETHIOPIC SYLLABLE THA | U+1320 Unicode ?

PPS. lovely little search button you have there. i liek how it “opens’ when clicked. is this done with simple css?

Last edited by bici (2022-08-21 23:17:20)


…. texted postive

Offline

#6 2022-08-23 09:20:18

dos
Member
From: de
Registered: 2014-05-17
Posts: 41
Website

Re: Back to this charming little CMS

phiw13 wrote #333815:

Yes. But make sure that all you templates have a lang="de" set on the root element (your frontpage at least has it correctly). That way the browser knows which hyphenation dictionary to use.

Nice clean&simple site, btw.

Thanks! lang=de seems to be implemented by TXP automatically on every site. Haven’t found the right way to implement the hyphens-option yet. More dummy-proved help is welcomed :)

what lovely minimal website! And i like the special “M” you added to personalize the title.

PS is the special ጠ font > “ጠ” ETHIOPIC SYLLABLE THA | U+1320 Unicode ?

PPS. lovely little search button you have there. i liek how it “opens’ when clicked. is this done with simple css?

Thank you! Yes, that’s the special character. I quite like it, because I can paste the name wherever, and it still looks unique. The search button is pretty much what you get with the default template. I just tweaked the colors.

Offline

#7 2022-08-23 09:50:32

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,719
Website

Re: Back to this charming little CMS

dos wrote #333842:

Thanks! lang=de seems to be implemented by TXP automatically on every site. Haven’t found the right way to implement the hyphens-option yet. More dummy-proved help is welcomed :)

Oh, yes, right, you are using the default templates as a base, it does insert the lang attribute.

Search your main stylesheet for * Styling for articles. (around line 131), then insert the following just before .article {:

div[itemprop="articleBody"],
div[item="description"] {
-webkit-hyphens: auto;
hyphens: auto;
}

This will apply to individual article pages and list pages; the -webkit-hyphens is for iPhone Safari users.

While you are there you may want to remove the word-wrap: break-word; line as the hyphens setting above will do a better/nicer job.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#8 2022-08-23 10:02:01

dos
Member
From: de
Registered: 2014-05-17
Posts: 41
Website

Re: Back to this charming little CMS

That was helpful. Thank you. Looking good (I think)!

Offline

Board footer

Powered by FluxBB