• Hi guys,

    I am using a theme(medieval book) which makes the initial caps larger and with different styling using this code – WPguy. However it seems that I cannot use a Cyrillic character for that. Everything can be in Cyrillic but the initial cap is always displayed as “?”.

    I asked the WPguy and he only said that it must be something with the php. Since I am no PHP expert any advice would be helpful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try css instead. For example:
    .hentry h2 + p:first-letter{ … }
    or
    .hentry h2 ~ p:first-of-type:first-letter{ … }

    (depends on html code you have).

    Note: this may not work in older versions of Internet Explorer.

    Thread Starter geshwinn

    (@geshwinn)

    Does that do the same thing as the code of wpguy?

    My page is https://gnomec.com and still can’t make the initial cap Cyrillic.

    Your site have different markup, you need this:

    .entry > p:first-child:first-letter{ … }

    But first you need to remove wpguy’s code, because it overrides style.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Initial Caps & Cyrillic’ is closed to new replies.