• Resolved kigazw

    (@kigazw)


    Hello and thank you!

    After the update of today leiuder almost all settings were gone. I had to make everything new.

    1. How do I get these white lines colored?

    Image:

    https://datenerror.de/wordpress/weiss.jpg

    2. The translation does not work anymore. How do I translate to German?

    Many thanks for the help!

    • This topic was modified 5 years, 4 months ago by kigazw.
    • This topic was modified 5 years, 4 months ago by kigazw.
Viewing 15 replies - 16 through 30 (of 33 total)
  • I have used 1.0rem or a little bit smaller, which is relative to the font-size for BODY-element, which I have just font-size:medium. In general font-size:medium is 16px.

    12p is nothing 12px is.

    In few browsers relative font-sizes don’t work. In my wife’s old 1280x800px tablet Chrome for Android can’t handle corretly relative font sizes. But in my HD-tablet Chrome handles font-sizes correctly.

    • This reply was modified 5 years, 4 months ago by tapiohuuhaa.

    The css-code (.bbp-reply-author .bbp-author-name,.bbp-topic-author .bbp-author-name {font-size:???!important}) doesn′t seem to affect the text size but the following code decreased the font-size. It was 1.5em from the beginning – even before the uppdate of bbPress.

    li.bbp-body{
    font-size:1.3em;
    }

    I have tried to add

    li.bbp-body{
    font-size:1.3em;
    line-height: 1.4em;
    }

    but it didn′t affect the line height.

    Plugin Author Robin W

    (@robin-w)

    @tapiohuuhaa
    ‘I found also that putting the name of author has been changed. Then previous CSS would not work. Add this CSS to get the font-size you want:
    .bbp-reply-author .bbp-author-name,.bbp-topic-author .bbp-author-name {font-size:???!important}’

    what was it before ??

    I changed other properties than font-sizes by body.single-topic .bbp-author-name rule and changes worked. I just assume that those rules, which I mention could work for font-sizes.

    I add css-code in WordPress admin panel Customize>Extra css

    This code “.bbp-reply-author .bbp-author-name,.bbp-topic-author .bbp-author-name {font-size:1.2em!important}’” do not appear there.

    I added it but it did not affect the font-size in forum.

    The font_size is okay with

    li.bbp-body{
    font-size:1.3em;
    }

    But how do I increase the line-height?

    In all CSS we must remember what other CSS has been defined. Some issues might need more selectors:

    @media screen{
    body.single-topic .bbp-reply-author .bbp-author-name,body.single-topic .bbp-topic-author .bbp-author-name, body.forum-search .bbp-reply-author .bbp-author-name,body.forum-search .bbp-topic-author .bbp-author-name {font-size:1.2em!important}
    

    would certainly work.

    li.bbp-body{
    font-size:1.3em;
    }

    apparently would need more specific selectors. I just don’t know for what exactly you want to increase font size.

    I want to increase the line-height not the font-size for the written text in the forum posts.

    body.single-topic .bbp-body .bbp-reply-content{line-height:…}

    You can look at the source right click of mouse and then inspect or something else that refers to looking the code – I don’t know what you have. CTRL-SHIFT-I with Vivaldi (apparently the same with Chrome). The you can look the HTML-structure in order to set selectors.

    body.single-topic .bbp-body .bbp-reply-content{line-height:…}

    Different element may need more specific rules like
    body.single-topic .bbp-body .bbp-reply-content p{line-height:…}

    You can look at the source right click of mouse and then inspect or something else that refers to looking the code – I don’t know what you have. CTRL-SHIFT-I with Vivaldi (apparently the same with Chrome). The you can look the HTML-structure in order to set selectors.

    Look at this image:

    https://www.sanaristikkofoorumi.net/wordpress/wp-content/uploads/2019-11-14-19.24.27-www.sanaristikkofoorumi.net-e331ab5b945d.png

    whey you click three dots you get structure opened.
    Indents mean that element is inside something. You can see that inside element with class=”bbp-body” is element, which has class=”bbp-reply-author”. Inside that is an element with class=”bbp-author-name”, now
    .bbp-body .bbp-reply-author .bbp-author-name targets to the specific element more precise than .bbp-author-name.

    • This reply was modified 5 years, 4 months ago by tapiohuuhaa.

    Thank you, I think it is rather okay now.

    Plugin Author Robin W

    (@robin-w)

    @kigazw I have added a translation tab to style pack

    Thread Starter kigazw

    (@kigazw)

    You are the best! Thanks a lot!

    Unfortunately, this does not work with the “minutes” and “seconds” yet.

    Otherwise it would be perfect!

    Plugin Author Robin W

    (@robin-w)

    @kigazw – yes they are awkward due to the way the new 2.6.x does it – I’m taking a further look this evening to see if I can fix that

    Thread Starter kigazw

    (@kigazw)

    That pleases me very much! Thanks a lot!

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘Settings disappeared after update – how do I get these lines colored?’ is closed to new replies.