Jump to content


Photo
- - - - -

iblogpro4... 4 feature boxes in a row?


This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1 matari

matari

    Member

  • Members
  • PipPip
  • 10 posts

Posted 21 April 2010 - 03:42 PM

Hi can someone tell me how to add a fourth feature box in the feature box row? TIA

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 21 April 2010 - 04:47 PM

You would have to change some of the template files and also create some new css rules. Is there a reason why you want this, it seems like it might be congested to go four across?

#3 matari

matari

    Member

  • Members
  • PipPip
  • 10 posts

Posted 21 April 2010 - 04:55 PM

My boss wants it..lol

#4 matari

matari

    Member

  • Members
  • PipPip
  • 10 posts

Posted 21 April 2010 - 04:56 PM

which files would I have to edit?

#5 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 21 April 2010 - 05:01 PM

edit the template_fboxes.php file and change the line that says $perline=3 to 4 Then create css that looks like this #container .fboxes .fbox {width:230px;} (not sure on the exact width change) You will also have to mess with the background image which controls the lines, but we actually can create css for this too. Using firebug will help a lot. Let me know if you further assistance I just don't know how much info to give you all at once

#6 matari

matari

    Member

  • Members
  • PipPip
  • 10 posts

Posted 21 April 2010 - 07:31 PM

thanks for the info.. Where do i put the #container .fboxes .fbox {width:230px;}

#7 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 21 April 2010 - 08:15 PM

You can add it to the css stylesheet or add it in the custom css code area in the theme admin options

#8 matari

matari

    Member

  • Members
  • PipPip
  • 10 posts

Posted 26 April 2010 - 05:28 PM

I'm having alignment issues with the featureboxes. Also how would I add content to the last featurbox?

Please Login or Register to see this Hidden Content



#9 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 26 April 2010 - 05:53 PM

you should change the width to 239px or add padding of some sort to fix the alignment. To add a fourth feature box just click the "add feature box" (top right corner) button in the theme options > feature setup area.