Forum Replies Created
-
Author
-
ersalabertParticipant
I will follow these steps. However, please explain in detail why this text is in 3-different locations (2 in the theme and 1 in BuddyPress)? What is the purpose of having the text in the Theme if changes made via Loco Translater do not have an affect?
Currently, the register.php file contains this content in Line 73:
COPY CODE<p class="lead"><?php _e( 'Registering for this site is easy. Just fill in the fields below, and we'll get a new account set up for you in no time.', 'buddypress' ); ?></p>
The screenshot I’ve included is the Loco Translate of the Plugins / BuddyPress / buddypress-en_US.po file, which has the updated text Updated: March 4, 2019 3:55 PM – I didn’t make the change, but it still does not reflect the register.php file.
The WordPress Register page is now displaying the updated text that I wanted. Could you tell me who made the change to buddypress-en_US.po, and why it’s not reflecting in the register.php file, and how the home-register-form.php and register.php file work together, if they do at all?
Seeings that the text has been updated, do I still need to place the register.php file in the child folder, and do I need to manually update the text on line 73? I want to understand why I should do that now. And last, why didn’t the changes to the two areas of the Theme I made with Loco Translate not reflect as was intended?
Lots of questions, but I need to understand how the Theme works for me to support this theme and make modifications without wasting lots of time researching around and failing when instructions don’t quite resolve the issue.
Thanks again.
Attachments:
You must be logged in to view attached files.ersalabertParticipantI apologize for providing incorrect information. What I sought to accomplish was to use on of your colored-background-pattern images, used Photoshop to change its colors, then uploaded the new file to this path: wp-content/themes/sweetdate-child/assets/images/coral_pattern.png
I used the following CSS:
COPY CODE#header { background: url('wp-content/themes/sweetdate-child/assets/images/coral_pattern.png') }
However, the result was that the CSS did not reflect on the Members and Activity pages, and instead are displaying the Green pattern selected in the Styling settings. If I change the pattern to Pattern 1, which I believe is just the pattern without color, the issue is the same.
I tried declaring the .header-bg class with the css above, but this applies my custom background pattern to the Home page, but removes the pattern completely from the Members and Activity pages.
Please help getting this resolved quickly.
Thanks
ersalabertParticipantHi,
I made the colors in the layers of btnGoUp.psd to be lighter, and darker for hover layer, with a transparent background using Photoshop and saving it Safe for Web browsers…. but the hover effect does not work on the site. I also cropped the image’s canvas tight for the radius to completely remove the background.
I’ve also had to add the image’s path in CSS as follows for the image to display on the screen:
COPY CODE#btnGoUp { background: transparent url('wp-content/themes/sweetdate-child/assets/images/up_page.png') no-repeat left top !important; border-radius: 100%; padding: 1px; }
It’s the only path that would allow the image to display. I don’t believe it’s good practice for the paths to WP directories be viewable, and I know there are plugins to ‘mask’ the true paths, which I’m going to use soon. But, I’m just curious why I had to declare such a long path instead of using ‘../images/up_page.png’ on the child theme.
Thanks in advance.
-
AuthorPosts