Changing HTML in current theme – Wisdom of Life Themeforest
I tried the first method by editing the 11 files mentioned but I just cannot get it working because I don’t understand very well what to edit. After I edited a file, I uploaded it and refreshed the page that is using that template but the div classes didn’t even changed and I don’t understand why. Please help.
If BuddyPress pages are not aligned correctly, then you may need to modify some of the templates to match your theme’s HTML structure. The best way to do this is to access your theme’s files, via FTP, at:
Open up the page.php file (if this does not exist, use index.php). Make note of the HTML template structure of the file, specifically the
tags that surround the content and sidebar.
You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file.
There are two methods for making the necessary template changes.
The first method is to locate tho following templates (leave out any folders that you didn’t copy over in Step Two):
Alternatively, you may find it easier to make copies of your theme’s header.php, sidebar.php and footer.php and rename them to header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php.
Then you can alter the structure of these new template files (header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php) to resemble your theme’s page.php (or index.php).
You must be logged in to reply to this topic.