Forum Replies Created
-
any suggestions ?
thanks
any solutions please ?
thanks @mercime
actually I was using this .
“
and it was creating the problem , now after I removed this line , its all ok ….but the other problem I mentioned about unable to change the default-header.jpg image from the default.css #header , it still persist …
can you please show me some light ?
thank for the suggestion but I actually want a solution for these problem, later will be thinking about supporting browsers …
is there anybody to actually provide some help in these issue ?
I’m testing this in localhost ..@hnla
Kindly have a look into this topic, pleaseany help would be fine , please
can anyone help please ?
please have a look
thank you@LPH2005 Thanks a lot for your quick response ….
I went through the yellowboxstudio.com’s write-up on techboise.com .. Its nice….
But a step-by-step guide to implement jquery parallax on buddypress-default theme like techboise would be great
note: as I couldn’t understand how a single jpg file would do such thing (as only one jpg image is address in the css) when yellowboxstudio’s wrtie-up say the concept of 4 layers
for me its loading great , don’t what the issue , but this site has one of the beautiful theme on the platform of buddypress default theme …
any clue please ?
yes now I understand a bit
A lot of thanks to you @hnlaThanks
Yes atlast … Thanks a lot @hnla and also @rogercoathup
`
function cancel_header_padding_for_no_adminbar() {if(defined( ‘BP_DISABLE_ADMIN_BAR’ ) || $bp->doing_admin_bar == false) ?>
body {padding-top:0;}
<?php
}
if (!is_user_logged_in())
add_action( ‘wp_head’, ‘cancel_header_padding_for_no_adminbar’ );
`but One stupid question :
what is the difference between `!is_user_logged_in()` and `is_user_logged_in()` ?I tried this but it didn’t worked , same thing is happening , Sorry
`
function cancel_header_padding_for_no_adminbar() {if(defined( ‘BP_DISABLE_ADMIN_BAR’ ) || $bp->doing_admin_bar == false && !is_user_logged_in()) ?>
body {padding-top:0;}
<?php
}
add_action( ‘wp_head’, ‘cancel_header_padding_for_no_adminbar’ );
`Thank I’ll try and get back to you
@hnla , @rogercoathup : One thing I donot understand (surrendering that I am a novice) , the snippet suggest that `if user is logged in then the condition is to padd 0px` , but what is need according. to the scenario is `if a user id logged out the padd 0 px , else padd 25 px`
isn’t it ?`
function cancel_header_padding_for_no_adminbar() {
if (is_user_logged_in())
body {padding-top:25;}else(defined( ‘BP_DISABLE_ADMIN_BAR’ ) || $bp->doing_admin_bar = false) ?>
body {padding-top:0;}
<?php
}
add_action( ‘wp_head’, ‘cancel_header_padding_for_no_adminbar’ );
`could it be like this ? I have not tested as I think it has some syntax error
@hnla : Ok! but nothing to say sorry , Your tried to help me a lot , Thanks
@hnla: Thanks … but I had tried … , yet I tried once again … but in vain , I am pasteing the code
`function cancel_header_padding_for_no_adminbar() {
if(defined( ‘BP_DISABLE_ADMIN_BAR’ ) || $bp->doing_admin_bar = false && !is_user_logged_in()) ?>body {padding-top:0;}
<?php
}
add_action( ‘wp_head’, ‘cancel_header_padding_for_no_adminbar’ );`this is what I tried , but with no luck
With this function , with or without the && !is_user_logged_in() thing, padding is gone for everybody(logged in and logged out user both)
@rogercoathup : Thanks for the suggestion I will try to start learning , Everything has a first time , actually I’m very much uncomfortable
Hello ! I need help ?
@hnla : are you there ? Please help me with the code snippet , I am not comfortable with code , Please
@hnla : would you kindly give the complete snippet here , as I’m not comfortable with codes
Is it happening in case of multiple web-browsers ?
as it happen with my demo install , the solution was , I restarted the browser and everything turn ok ….
also updating the browser or delete browser cache can solve the problem , If its related to browser ?@hnla : Thanks , It works , but
as I mentioned in the other thread ( https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-1-2-6-adds-extra-padding-top/ ) , this will only work flawlessly if and only if adminbar is disabled completely by the define statement /define (‘BP_DISABLE_ADMIN_BAR’, TRUE)/
but incase of adminbar display disabled only for non loggedin users, if we use this ” padding off ” thing then a loggedin user will see some display glitch , same in the picture
http://img3.imageshack.us/img3/2457/paddingoff.jpg
check the logo area in the right and the ‘profile’ and ‘view pages’link area in the left in the image link
p.s. I cannot paste any code snippet correctly here , how to do that ?