David Carson
Forum Replies Created
-
Thanks for using the theme, hibuddie9ja.
Thanks nosoura. I can replicate that on page/post views where sidebar alignment is a bit off on portrait on iPad. I’ll try to fix that on next version.
If you’re handy with CSS, go to your style.css and look around line 1143 for the media query for tablets. Add any custom CSS there to address sidebar alignment. Or copy the media query and add it to your custom.css file if you’re using one.
Forum: Themes and Templates
In reply to: [Frisco for BuddyPress]: Add the taglineDrop the following into your header.php file and then apply style in stylesheet.
<div class="description"> <?php bloginfo('description'); ?> </div>
https://codex.www.ads-software.com/Designing_Headers#The_WordPress_Header
If you provide more information, I’ll try to help.
Also can you please advise me how to remove the tags line
Add the following line anywhere in your stylesheet.
#forum-topic-form .topic-tags { display: none; }
I’ll have to do a little testing to see how to help with IE alignment issue on forums page. Will report back here once I do.
Of course, you can just put your own functions, or edit existing ones, from functions.php without using the custom functions file.
The advantage to using something like functions-custom.php is that, if you ever upgrade the theme, your customizations will not be overwritten.
Actually, I copied your functions.php and called it “functions-custom.php” without making any changes (but also I did remove the functions.php file).
Oh, that definitely won’t work.
Leave the original functions.php as-is.
And only put your own custom functions in functions-custom.php.
If you look at the original functions.php, there is a function in there that will look for additional functions in functions-custom.php if (a) the checkbox in theme options is enabled and (b) the file exists.
This looks like a CSS bug the theme for when viewing the main forums directory using IE8/IE9.
I can’t test this now. But it’s probably something small like a width/border/margin of the sidebar CSS.
Try opening up style.css in Frisco theme directory, and go down to line 145. You should see
width: 226px;
within thediv#sidebar {
section.Delete that line. Specifically, delete
width: 226px;
. Then save, refresh and see if it’s still mis-aligned.I can address this in the next version of the theme. Thanks for the heads-up. In the meantime, even if my recommendation doesn’t fix it, I hope it got you started in the right direction.
1) CUSTOM FUNCTIONS: When I first create it at the host and then select “Theme Options > functions-custom.php”, I get a white-screen-of-death on both the admin and the site front-end. Tried removing the “functions.php” altogether, but nothing has worked so I’m reluctant to modify or add to functions. Thoughts?
Is there anything in the functions-custom.php file? It will probably need at least the opening php tag or the sky might fall.
2) REPLACE LOGIN: Since I leverage the functionality of S2Member Pro with WordPress and Buddypress, I’d like to replace the hard-coded login in the sidebar with theirs. How do I remove the current one?
That should be easy enough. Because Frisco is a child theme of bp-default, it uses some of the template files from that theme. So if you don’t see a file you need to edit in Frisco, have a look at bp-default, copy the file to Frisco, and edit however you’d like.
In this instance, sidebar.php is the file you need. Copy it from bp-default into Frisco folder. Then go to line 43-55 and replace with your custom login.
Link? At least theme version and browser profile would be helpful.
Also how do I change the homepage
Go to “Settings > Reading” in your dashboard.
When I view the theme on my android device the menu buttons go vertical and mess everything up, it does not look like the picture you have on you site. Can you help?
I updated the mobile navigation since that small screenshot was taken to accommodate longer menus. Can you be a bit more descriptive than “mess everything up” and maybe post a screenshot?
It uses the Lobster Two font by default. So it won’t change if you reselect it in theme options. Try changing to another font choice and see if that works.
Also, that option changes only the site title font.
All other fonts on the site are controlled via the stylesheet (style.css) towards the top. Better yet, use a custom stylesheet to override the default settings. Using a custom.css file will allow you to upgrade without losing changes, though you should always back everything up before upgrading.
Just reposted and cleaned up code but it’s still not working, unfortunately. If you’ve created a profile on the Frisco demo site, please send me a private message and I’ll post the response there.
[Reposting original response here in the hopes that it will show for you.]
Can you make public the code you use for your “join” page on the demo Frisco installation? It looks amazing, and I’d like to model mine off of that.
I’m using the default Frisco theme to power the demo site. And I used a custom stylesheet along with a custom functions file to extend the theme and add a couple small features.
If you have BuddyPress installed and the Frisco theme activated, go to “Appearance > Theme Options”. You should see two checkboxes on the options page. The first checkbox enables a custom.css file. And the second checkbox enables a functions-custom.php file. These two files should be used to customize the theme wherever possible and will ensure that upgrades are easy in the future because those files shouldn’t be affected when you upgrade the theme.
So, generally, to customize the CSS of the theme, create a file called custom.css in the theme folder, add your custom CSS, and then check the box in the theme options to enable it. To add or remove functionality, create a file called functions-custom.php in the theme folder, add your custom code, and then check the box in theme options to enable it.
Back to your original question. To insert the HTML used for the “Welcome to the Demo” section, I used a hook to add a function called
add_register_page_alert()
tobp_before_register_page
(hook on the bp-defaut register page).Here’s sample code. This could be added to the functions-custom.php referenced above.
// Add alert to initial register page function add_register_page_alert() { // If on on the initial register page, show HTML block if ( 'request-details' == bp_get_current_signup_step() ) : ?> <p>Hello world!</p> <?php endif; } add_action ( 'bp_before_register_page', 'add_register_page_alert' );
Then add any custom CSS to the custom.css file reference above. To see the HTML and custom.css used on the demo register page, use Firebug for Firefox.
2. I know you’re limiting the amount of colors available so far, but where in the CSS file is that option if I’d like to change it myself? i.e. what field changes the header color (and I assume the footer text as well)?
You should use the custom.css file for this. Go into any of the files within the “css” directory (ex. default.css, green.css, etc.) and copy the CSS in any one of those files, then paste that CSS into your custom.css file. Use the CSS you just pasted in custom.css to customize the colors however you’d like. Custom.css, if enabled properly, will override the color choice selected in the backend.
3. Is there any way to add a custom logo to the header? If so, how would I do that?
Create the custom.css file if you haven’t already. Upload your logo to the server – I’d create a folder in the theme for this, something like “custom-images” or whatever. Then use a CSS image replacement technique referencing that logo/image in your CSS.
Very strange. I just reposted and it’s still not working. Would you mind starting a new thread and I’ll try posting there?