Results 1 to 2 of 2

Thread: CSS to remove spaces (padding-top) & change sidebar

  1. #1
    Join Date
    Nov 2016
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default CSS to remove spaces (padding-top) & change sidebar

    Hello,

    I have tried to remove the spaces under the title of my blog : http://www.penser-ensemble.eu/sujets/actualite/

    under this title (Pôle d’Echanges pour les Solidarités Educatives)

    the spaces come from the padding-top of the section below it, so i’ve tried to add :

    #et_pb_section et_pb_section_0 et_section_regular et_pb_section_first { padding-top : 5px !important;}

    But nothing happened! any idea ?

    My second question is how to make the side bar of this page larger (in order to make it more organised).

    Thank you !
    Last edited by jscheuer1; 06-09-2017 at 12:03 AM. Reason: format

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,689
    Thanks
    1
    Thanked 252 Times in 247 Posts

    Default

    Hi there angelium,

    the problem is that this damaging code...

    Code:
    
    <div class="et_pb_section  et_pb_section_0 et_section_regular et_pb_section_first" data-fix-page-container="on" style="padding-top: 110px;">
    ...is dynamically created and the inline style cannot be overridden.

    All is not lost, though.

    There is often more than one way to skin a cat.

    Add this to your CSS...

    Code:
    
    div[style="padding-top: 110px;"] {
        margin-top: -90px;  /* adjust value to suit */
        background: transparent;
     }

    coothead
    ~ the original bald headed old fart ~

Similar Threads

  1. mysql remove spaces and single quotes from string
    By Bicklo in forum MySQL and other databases
    Replies: 11
    Last Post: 12-28-2016, 01:28 PM
  2. How to change padding color of 'Ultimate Fade-in slideshow'
    By imimin in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-06-2011, 04:22 AM
  3. Replies: 0
    Last Post: 02-16-2010, 01:44 AM
  4. Remove Spaces Between Tabs (Tab Content script v2.2)
    By vlane95678 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 03-16-2009, 11:40 PM
  5. Replies: 3
    Last Post: 11-21-2008, 08:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •