• Resolved surfershort

    (@surfershort)


    Hi ive been trying for hours to increase the height of the recently added listings section on my home page, as the text excerpt over runs as you can see here.

    i can locate the css in firebug but cant find the code in the theme

    Any help very appreciated thanks

    Al

Viewing 10 replies - 1 through 10 (of 10 total)
  • It’s being set by inline style within the page:

    <div style="border-bottom: 1px solid white; margin-top: 10px; height: 75px;">

    Thread Starter surfershort

    (@surfershort)

    Thanks esmi but where would i find that code to edit…?

    Cheers

    Either in your theme’s index.php template file or in one of your plugins.

    Thread Starter surfershort

    (@surfershort)

    Ok ive searched the entire theme on my local drive for the ’75px’ height thing and it or i cant find it anywhere, would it be outside the theme…? i only have akismet and wp-super cache running as plugins and im guessing it wouldnt be in them.

    Thanks

    where ever these styles come from, you can overwrite them by forcing other formats:
    added to the end of style.css:

    .column.fr .box, .cnt-portfolio { height:100%!important; }
    .cnt-portfolio div { height:100%!important; padding-bottom:10px!important;}
    .cnt-portfolio div.cl {height:0px!important; }
    Thread Starter surfershort

    (@surfershort)

    Thanks guys you rock!!!!thats sorted it.!

    Cheers
    Al

    Thread Starter surfershort

    (@surfershort)

    Oh…….it seems that code works a treat on the front page but plays up a little in the post listings as you can see here

    Ive tried playing around with code a little to no avail. Any thoughts?

    Cheers

    Thread Starter surfershort

    (@surfershort)

    anyone…..?

    Thanks
    Al

    this is always the risk, tweaking styles for one page – you never know if it might have side effects on other pages.

    try to add another line to these styles:

    .column.fr .box, .cnt-portfolio { height:100%!important; }
    .cnt-portfolio div { height:100%!important; padding-bottom:10px!important;}
    .cnt-portfolio div.cl {height:0px!important; }
    
    .column.fr .box.last-box1 { height: 250px!important; }

    hope it does not cause disruptions elsewhere 😉

    Thread Starter surfershort

    (@surfershort)

    Alchymyth the master! thanks so much, i owe you a pint.

    Cheers Al

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘cant find code…….!…?’ is closed to new replies.