Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can't change overall font in rtl default theme

  • Avatar of cupid4
    cupid4
    Participant

    @cupid4

    hello, I created a child theme and made a style.css as instrcted in buddypress codex, the fonts in Arabic are so small so I tried to change it to Tahoma, I could copy the ‘ body { ‘ attribute from default css and that changed only the posts body, but none of the profile content or pages fonts were changed, so can anyone point me to where I can change overall fonts in buddypress to Tahoma and change font size if necessary?

Viewing 17 replies - 1 through 17 (of 17 total)
  • Avatar of cupid4
    cupid4
    Participant

    @cupid4

    Hey, any help available for this? it’s getting really frustrating, I have been trying to locate every css place by firebug but it’s not working, shouldn’t Tahoma font be the official one for Arabic rtl css? the font is so small without it., hope anyone can help as this problem is keeping me from getting my website live.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @cupid4 site url?

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime
    EgyCupid.com
    I use a child theme with only the style.css and footer template, wish to change all the fonts to Tahoma, thank you.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @cupid4
    body,
    input,
    textarea {
    Font-family: Tahoma, sans-serif;
    }

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime I added what you mentioned in my child theme style.css but nothing changed at all.

    Avatar of vasimalanya
    vasimalanya
    Participant

    @vasimalanya

    It is really frustrating
    I found this issue in tens of pages and posts and no solution

    Avatar of vasimalanya
    vasimalanya
    Participant

    @vasimalanya

    turkishdays.com

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime still the same issue with bp 1.8.1 , when I made the edits directly in buddypress default theme it worked right away, but no matter what I add to style.css of my child theme no changes are refelcted, any solution?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @cupid4 add the following to your child theme’s functions.php file -

    EDIT – updated code http://pastebin.com/iKcPpM0L

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime thanks for help, but this code messed up the whole theme, visit my website and see.

    Avatar of tveryadvancedhelp
    tveryadvancedhelp
    Participant

    @tveryadvancedhelp

    contact me verd733@gmail.com and let’s see how i can help you out. :)
    If you still need help.

    -Tvery.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @cupid4 missed some lines, sorry. See updated version in my post above

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime thanks, the new code cleared the mess, but still no changes made to child theme are applied, I’m sure my edits are not wrong because it have been working before, all the problems started since moving bp-default off the themes folder and putting it in buddyporess folder. anyway I just copied the whole bp-default folder and changed theme name and started ding edits to it, will be harder than child themes to update, but it’s the only way I can get my website live for now, hope soon the problems with child themes are fixed.

    btw, @mercime do you have any idea why registration page is saving all “select-down-list ” choices of last user who register and showing it always in register page? if you visited my website you will see that there are choices already selected even none of them is set as default, should I report this in buddypress trac?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    there are choices already selected even none of them is set as default, should I report this in buddypress trac

    @cupid4 there was a trac ticket posted about same issue but was resolved last year http://buddypress.trac.wordpress.org/ticket/4362

    all the problems started since moving bp-default off the themes folder and putting it in buddyporess folder.

    The bp-default theme folder should be left as is in the wp-content/plugins/buddypress/bp-themes/ folder and not moved to wp-content/themes/ folder

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime Thanks so much, I will check if this fix is applied to my install as it should or not then post in the ticket if it is the same.

    - I meant when buddypress developers moved it, not me. it used to be in themes folder in earlier versions and child themes worked well back then.
    what I did now is taking a copy of bp-default, renaming it, and put in themes folder, now it’s working, I was in a hurry because I want to start my website before certain date.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    @cupid4 The ‘developers’ didn’t move anything , a good understanding of the changes in V 1.7 helps and the codex has some pages on theme compatibility changes. the bp-default theme still exists and in the same folder in the core files, a new folder was added for template files which serve the theme compatibility layer /bp-templates/bp-legacy/buddypress/ these files are not the same as the older bp-default ones as they are template parts rather than full templates with header and footer calls.

    Copying bp-default to your theme and re-naming doesn’t sound at all correct, this would not work! Your theme either activates the older bp-default theme in /appearance/themes in dashboard or it’s a child of bp-default and possibly then overloads files by copying e.g /members/index.php to your theme root else you activate any other theme and simply allow BP to run with it’s theme compatibility layer in that situation you can adjust templates by copying templates from /bp-templates/legacy/buddypress/ to /buddypress/ in your theme root, just don’t mix templates.

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @hnla I don’t think you got what I did, I didn’t just rename the folder, I renamed the theme name in style.css to ( copy-budyypress ), and this new theme works and appear normally in dashboard/appearance, actually my website is live right now:

    EgyCupid.com
    is that what you were taking about? and is there a problem about that? cause I don’t think I got your point exactly.

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

You must be logged in to reply to this topic.