Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity stream font size


  • life5000
    Participant

    @life5000

    Hello;

    I would like to increase activity stream’s font size. Could you please tell me how?
    I am using the latest version of WordPress and latest version of buddypress.

    Thanks so much.

Viewing 15 replies - 1 through 15 (of 15 total)

  • Henry Wright
    Moderator

    @henrywright

    You can do this through your theme’s style.css file but the solution will depend on which theme you’re using.

    #activity {
        font-size: 110%;
    }

    Note it’s the #activity bit that will depend on your theme so that might need changing.


    life5000
    Participant

    @life5000

    Thanks so much Henry for your response.

    It doesn’t work though 🙁 I have tried many different things so far to no avail.


    Paul Bursnall
    Participant

    @style960

    Do you have a link to the page?


    William
    Participant

    @william_oneb

    @life5000, Please find a file called style.css in your active theme, put this code there, save the file and reupload that file. Of course 300% is way too large but hey, I want you to see that your changes are actually working. Please adjust that size accordingly e.g 140%

    #activity-stream p {
        font-size: 300%;
    }

    Paul Bursnall
    Participant

    @style960

    @william_oneb Please stop giving members advice to edit their active theme. All changes of this nature should always be made in a child theme. Check the codex – https://codex.wordpress.org/Child_Themes


    William
    Participant

    @william_oneb

    I know @style960. Look, probably not all members are using default themes such 2015 which get updated every now and then OK? Some themes will never get updated anyway. Some people just want to get the work done as soon as possible and once they realize that they are loosing the changes with updates then they can find a solution to that. What’s the use of giving these people lengthy tutorials that are going to get them frustrated and they quit half way? They should start small then improve on that. If you’re a programmer at all, you first started by writing a very simple program that says “Hello World!” not a super complicated program. This is what I’m doing here!


    William
    Participant

    @william_oneb

    If anyone agrees with my opinion please say something. Not everyone is a web developer and therefore the shortest route is probably the best with these type of people.


    William
    Participant

    @william_oneb

    By the way @henrywright is one of the BuddyPress Core developers who joined team recently but look at where he said that the code should be put. He actually meant “style.css” not “function.php”. What do you say about this @style960? Even the core developer himself is not recommending the child theme!


    Paul Bursnall
    Participant

    @style960

    The ‘active’ theme should always be the child theme. That’s not my opinion, that’s fact. And you don’t need to be a developer to use, or create one. Most premium themes are packaged with a child theme, and if you don’t have one, just add a plugin and create one. Then activate it. You will find no WordPress developer that doesn’t recommend the use of a child theme.

    Maybe this will help – https://www.elegantthemes.com/blog/resources/wordpress-child-theme-tutorial


    Paul Bursnall
    Participant

    @style960

    Themes which make use of option panels may allow you to only use the parent theme. If you can cover the changes you need by using that panel. But if you need make custom changes to css or add additional functionality, save yourself potentially big headaches and use a child theme. They don’t exist for fun.


    Venutius
    Moderator

    @venutius

    I’ve not tested it myself but there are plugins such as “One Click Childtheme” available, maybe for newbies we should be recommending that?


    Paul Bursnall
    Participant

    @style960

    @venutius Good advice yeah. From WP admin – plugins > add new, search for ‘child theme creator’. Plenty of options that will do the job.


    William
    Participant

    @william_oneb

    My opinion: For simplicity, Let the user figure out that he/she needs a child theme. Period.


    Henry Wright
    Moderator

    @henrywright

    Sorry @life5000, I noticed that earlier in this post I mentioned you should add the snippet to your theme’s functions.php. That’s not right. It should go into your theme’s (or child theme’s) style.css file.

    I’ve just updated it so it has the right info.


    life5000
    Participant

    @life5000

    Thank you so much @henrywright and everyone too. Henry’s solution worked great for me. I do have a custom css in the design setting of my theme that allows customization without having to create a child theme. I added Henry’s code to the custom css section.

    I now have a challenge of hiding some of the tabs on my buddypress profile page; like notification tab and forum tab. I’d like to hide those tabs without having to deactivate the plugins. I would so appreciate a solution.

    Thanks so much again.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Activity stream font size’ is closed to new replies.
Skip to toolbar