Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1370235

    alandoyle
    Participant

    Hi. I’m a novice to web development and decided to use your excellent X Theme. Unfortunately, I cannot remove a large amount of space between my page heading and the nav bar. There seems to be about 85px too much.

    Here’s the first few lines of code (however I;ve built up the pages in Visual Composer):
    [vc_row padding_top=”0px” padding_bottom=”0px” bg_video=”” class=”” style=””][vc_column fade_animation_offset=”45px” width=”1/1″ id=”” class=”” style=””][text_output]
    <h1>A Wealth Of Amenities</h1>
    [/text_output][/vc_column][/vc_row][vc_row padding_top=”0px” padding_bottom=”0px”][vc_column fade_animation_offset=”45px” width=”1/1″][image type=”none” float=”none” src=”51″ alt=”” href=”” title=”” info_content=”” lightbox_caption=”” id=”” class=”” style=””][/vc_column][/vc_row][vc_row padding_top=”0px” padding_bottom=”0px”][vc_column fade_animation_offset=”45px” width=”1/2″][text_output]
    <h4>Amenities</h4>

    I’m new to this so maybe you can bring me through the steps to correct this.

    Thanks

    #1370261

    Paul R
    Moderator

    Hi,

    To reduce spacing, change your code to this.

    
    [vc_row padding_top="0px" padding_bottom="0px" bg_video="" class="" style=""][vc_column fade_animation_offset="45px" width="1/1" id="" class="" style=""][text_output]
    <h1 style="margin-top:0;">A Wealth Of Amenities</h1>
    [/text_output][/vc_column][/vc_row][vc_row padding_top="0px" padding_bottom="0px"][vc_column fade_animation_offset="45px" width="1/1"][image type="none" float="none" src="51" alt="" href="" title="" info_content="" lightbox_caption="" id="" class="" style=""][/vc_column][/vc_row][vc_row padding_top="0px" padding_bottom="0px"][vc_column fade_animation_offset="45px" width="1/2"][text_output]
    <h4>Amenities</h4>
    

    I added style="margin-top:0;" to your h1 tag

    Hope that helps.