Skip to:
Content
Pages
Categories
Search
Top
Bottom

I need to enlarge some font-sizes

  • @bbp-fan

    Participant


    It’s only a small thing – basically. Nevertheless, since a few days I am on experiment, only to enlarge the font size of the links “forum-title” and “topic title”. πŸ™ And only these two! (no other font-size in the forum) I’m not successful. Despite the use of Firebug I do not find the correct place in the CSS.

    I also do not understand what in this line
    # bbpress-forum div.bbp-forum-title h3,
    the “h3” is. My “h3” is much larger defined, but is not taken.
    Which “h3” is meant and where it is defined?

    Please help! I’ll go crazy πŸ™

Viewing 25 replies - 1 through 25 (of 28 total)
  • @robin-w

    Moderator

    Can you post a link to your site and I’ll take a look for you

    @bbp-fan

    Participant

    Hi Robin, thanks for your friendley Feedback!
    I’m still working on the project on my local server.

    Sorry…. πŸ™

    @bbp-fan

    Participant

    P.S.:

    I use the Standard bbPress CCS.

    @robin-w

    Moderator

    ok, do you have a child theme with css in it you can alter?

    @bbp-fan

    Participant

    Yes, I have a child theme with css-file.

    @robin-w

    Moderator

    Ok, you can add the following to it

    #bbpress-forums div.bbp-forum-title h3,
    #bbpress-forums div.bbp-topic-title h3,
    #bbpress-forums div.bbp-reply-title h3 {
    	font-size: 16px !important;
     	}

    16px is what it is currently set to, just alter the 16px to whatever size you want

    h3 by the way is “heading 3” there are a number of different heading sizes that bbpress sets and uses, that are separate from your main themes h3

    @bbp-fan

    Participant

    Thank you very much for your help!
    Unfortunately this I had already tried and it did not work. Now I have just tried again and again without success. I’m really at a loss. πŸ™
    Why this CSS is ignored? I have several changes in the CSS file (background for sticky post, for example). Everything else works!

    Where is the special-bbpress-“h3” defined? What size? I can’t find ist in the bbpress css-file.
    Perhaps there would be the solution?

    @bbp-fan

    Participant

    I have just seen in the source code that the line that I want to change is
    a class = "bbp-forum-title"
    Apparently the LINK class is defined anywhere else?

    @robin-w

    Moderator

    and that class is the one you tried to change, it is on line 166 of bbpress.css

    #bbpress-forums div.bbp-forum-title h3,
    #bbpress-forums div.bbp-topic-title h3,
    #bbpress-forums div.bbp-reply-title h3 {
    	background: none;
    	border: none;
    	font-size: 16px;
     	line-height: 1em;
     	margin: 8px 0;
    	padding: 0;
    	text-transform: none;
    }

    @bbp-fan

    Participant

    Thanks, Robin.
    I’ll really go crazy! πŸ™ It does not work.
    That can not be true. I have also cleared the cache.
    Every other changes in my child css works!!

    What’s going on?! πŸ™

    @robin-w

    Moderator

    ok, would be worth a double check with firebug as to which css is being used.

    is it definitely bbpress.css? and on what directory are you using it (ie is it the default directory or a copy you have made, and if the latter which directory have you put it in?

    @bbp-fan

    Participant

    Hi Robin, thank you for your patience!

    I have a child-theme in wp-content/themes/myTheme. Inside is MY style.css. Here I have copied all the passages from the bbpress.css that I wanted to change. It has always worked fine! Just changing the font size in the forum-title and the topic-title is ignored. Despite !important.

    You also can check a topic-title in bbpress with Firebug. I did ​​it like this: highlight the topic-title, mouse-click (right) and then check by Firebug.

    @robin-w

    Moderator

    I just took a look at my forum

    On a single topic display, my css is from line 575

    #content .entry-title {
        color: #000000;
        font-size: 21px;
        font-weight: bold;
        line-height: 1.3em;
        margin-bottom: 0;
    }

    and when I view a topic title in a list of forums it is from line 475

    #content, #content input, #content textarea {
        color: #333333;
        font-size: 16px;
        line-height: 24px;
    }

    Have you tried either of those?

    It is frustrating that I can’t directly see what you’re looking at πŸ™‚

    @bbp-fan

    Participant

    Hi Robin,
    no, unfortunately, that also does not work. It changes the title in the blog, not the bbpress-forum.

    It’s absolutely crazy.
    I just made ​​some changes to the existing CSS in my child-theme to see if the css file is ever used. But EVERYTHING works. Only with these two bbp-titles (forums und topics) nothing works.
    I’ve just tried the following:

    . bbp-forum-header a.bbp-forum-permalink,
    . bbp-topic-header a.bbp-topic-permalink,
    . bbp-reply-header a.bbp-reply-permalink {
    font-size: 18px;
    }

    Nothing happens.
    But: Somewhere the size of this fonts must still be defined!! (???)

    Apparently no one of the bbpress programmers reads here in the forum. Too bad. πŸ™
    I give up now.

    Thank you, that you were so kind and patient!

    @bbp-fan

    Participant

    I just found this old post:

    Font (text) is so small, how can I fix it?

    If you follow the link
    http://hearthstone.no/forums/
    then you will see what I want to change in my forum.

    The first forum there is called: “Hearthstone Beta” = forum-title
    I would like (for me) a larger font.

    If you click the forum “Hearthstone Beta”, you come to the list of topics. Look for example Topic “turnering”. This is the topic-title, for which I also want a larger font.

    But only for this two titles (forum-title und topic-title), not for the rest of the fonts like it is on this site.

    @freewpress

    Participant

    Try add this in your css:

    .bbp-forum-title,
    .bbp-topic-title {
       font-size: 16px;
       font-weight: bold;
    }

    @bbp-fan

    Participant

    No, unfortunately not. πŸ™ Also not with ! important.
    Although these are exactly the two titles that I want to enlarge! The only that works is the solution with inherit, but that just increases all fonts in the forum and I do not want that. It also destroys the layout. I’m certainly not a CSS professional, but I have changed so much and it all worked. Why does this one not work?? I really do not understand what’s going on.

    Is there any way to ask one of the bbpress-people?

    @freewpress

    Participant

    Every css template can have different class and code.. We must to see a specific code to made one solution for you.. If you have possibility to run this site in one webserver we can help you, but in this conditions is titanic…

    @bbp-fan

    Participant

    I thought it is possible because I have the default bbPress CSS in use. Nothing special, just the CSS that have probably all bbpress-user. But if it is not possible to find the solution, I will contact you as soon as I’ve finished the site so that I can release it.
    Thank you again.

    @lerroy

    Participant

    I know this is a old topic but did you have any fix for this i have the same issue pulling my hair out..

    @robin-w

    Moderator

    Without spending time going back through this thread, I presume you have tried all the bits of code above. The fact that they didn’t work for the OP whose site we couldn’t see doesn’t mean they won’t work for you.

    If you have done all that, come back with a link and I’ll take a look.

    @lerroy

    Participant

    Yep tried Everything

    Unfortunately I’m working on a WAMP local server at the moment, so cant really link you sorry.

    Ill just keep trying was just hopeing you guys found solution in PM’s

    Thanks for the reply

    @lerroy

    Participant

    Hah all good found solution your right i missed the !important off now working great

    thanks

    @robin-w

    Moderator

    Great, glad you’re fixed !

    @morgensonne

    Participant

    Hi Lerroy,

    what solution did you use that it works for you? I try the same. Do you like to write about how it works for YOU?
    Thank you!

    Morgensonne

Viewing 25 replies - 1 through 25 (of 28 total)
  • You must be logged in to reply to this topic.
Skip to toolbar