BuddyBoss Home – Web Support Forums Themes Boss. theme Home Page Formatting

Viewing 15 posts - 1 through 15 (of 16 total)
  • Question

    #39137
    @don4law

    I am struggling with trying to format the front page. I would like to format 2 things and cannot figure out how to di it:

    1. Adjust the height of the slider because it appears much too large on desktops, kn my view; and

    2, I want to eliminate the title of the page on the home page, but when I do usingg display:none css, there is a huge gap between the bottom of the slider and the text. If I add additional text or widget, there is a huge gap. If I choose to display the page title, there is a huge gap between the bottom of the title and the subsequent item, whether it be text or widget, or whatever. I would like to format these elements according to my wishes. How do I do that?

    Answers

    #39206

    Alyssa
    Participant
    @alyssa-buddyboss

    @don4law sorry for the delay I was having trouble accessing my dev computer remotely.
    1) Add this to functions.php in your child theme:
    add_image_size('buddyboss_slides', 1040, 400, true);
    Change 400 to whatever height you want the slides to be. NOTE: You will need to delete your current slides from WP Media and reupload them to get them to resize.

    2) This is a bit ambiguous since you can literally set your home page to be any page on your site. But instead of targeting the h1 tag try targeting this class: .page-header or simply header (non-class, just straight)

    #39375
    @duca24

    I added that to the functions.php file, deleted all slides and uploaded new ones. But still 400px height, but does not work. Do you know why?

    #39404

    Alyssa
    Participant
    @alyssa-buddyboss

    @duca24 what did you change the new value to? You need to change the 400 in the above code to whatever you want it to be.

    #39409
    @duca24

    Please check my attached picture, I changed it to 200

    #39441

    Alyssa
    Participant
    @alyssa-buddyboss

    @duca24 did you just delete them from the Slide Post, via FTP, or via WordPress Media?

    #39448
    @duca24

    Hi I just delete them from the Slide post. Where should I delete them? FTP?

    #39481

    Alyssa
    Participant
    @alyssa-buddyboss

    @duca24 delete them from Dashboard>Media>Library

    #39488
    @duca24

    @tjchester I deleted all the files from the Media libary. It is still 400px height?

    Why?

    #39506

    Alyssa
    Participant
    @alyssa-buddyboss

    @duca24 try deleting the files from FTP as well. Or at least verify the files are deleted by checking FTP.

    #39529
    @duca24

    I deleted it Media, form the slides and checked FTP, everything deleted.

    The slide dimensions are still saying 400 height.

    Would you recommend to use Meta Slider instead?

    #39567

    Alyssa
    Participant
    @alyssa-buddyboss

    @duca24 sorry it appears the code is executing after the functions.php file I have tested this code to work properly:

    function alt_buddyboss_setup()
    {
    add_image_size('buddyboss_slides', 1040, 200, true);
    }
    add_action( 'after_setup_theme', 'alt_buddyboss_setup', 999 );
    #39575
    @duca24

    Thank you it worked out finally 😀 Great support!!

    #39592

    Alyssa
    Participant
    @alyssa-buddyboss

    Great news, thanks!

    #39651
    @jeanpierre

    … i would vote/request that the slider height become a setting, i would prefer to have it on something else than 400px myself as well… 🙂

Viewing 15 posts - 1 through 15 (of 16 total)
  • The question ‘Home Page Formatting’ is closed to new replies.