Need a quick WP theme modification

Discussion in 'CSS' started by lumpy, May 22, 2011.

  1. #1
    Hey guys. I have this WP-theme installed here: asktuning.com and I want you to help me modify it a bit.

    Ass you can see all the theme is structured in that center block, that contains sidebars, content etc. I want this:

    1. EITHER to delete one of the sidebars and then be able to expand the other 2, so the theme will only have 2 sidebars.
    2. EITHER to keep all the three sidebars but to expand the whole block that contains the sidebars and content. The problem is I don't know where to look for this changes, can someone tell me ?

    The css file is attached.

    Thanks!
     

    Attached Files:

    • css.txt
      File size:
      10 KB
      Views:
      93
    lumpy, May 22, 2011 IP
  2. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #2
    To delete the sidebar, you need to modify in the index.php file or sidebar.php file.
     
    karthimx, May 22, 2011 IP
  3. lumpy

    lumpy Well-Known Member

    Messages:
    942
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Dude, I know how to delete the sidebar, the problem is how to modify the rest of the content (center and the other sidebar) so they'll fit right on the screen.
     
    lumpy, May 22, 2011 IP
  4. devsmi

    devsmi Well-Known Member

    Messages:
    284
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Hi I realize you may not need a tutorial on this lol but I tried to write asmuch as possible incase you were not sure.
    Ok for example. Lets say you remove the right sidebar..Now you are left with the "Left sidebar" and "center". Right now the current widths are as shows here
    Body(Total of Left, right, center): 950px

    Left: 190px
    Center: 550px
    Right: 190px

    Ok so when you remove the ride sidebar you have 190px empty to put to whichever you want. I will add this to the center so now
    left: 190px
    center: 740px

    The css file which has all the widths is here: http://asktuning.com/wp-content/themes/Tendency/css/screen.css
    change line 111
    .span-14 {width:550px;} to .span-14 {width:740px;}

    If you need more help with this I would be happy to do it for you just contact me.
     
    devsmi, May 22, 2011 IP
  5. Neal_Morgan

    Neal_Morgan Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    wow what a lot going on. It's a theme so you shouldn't need to go messing with the css, that could be very bad if you don't know 110% what you are doing.
    You need to get into your admin panel and turn off one of those side bars, maybe even both.
     
    Neal_Morgan, May 22, 2011 IP
  6. devsmi

    devsmi Well-Known Member

    Messages:
    284
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #6
    He said he knew what he was doing in terms of turning off the left or right column/sidebar and has asked for help to customize the widths so for this you do need to edit the css. Just answering the question that he had asked :)
     
    devsmi, May 22, 2011 IP
  7. Neal_Morgan

    Neal_Morgan Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    My point is that he should't need to go messing with css. Turning one sidebar off or selecting full page width will give him what he wants. Thus answering he question he asked.
    without knowing the theme it's imposable to know which way is best.

    Kind Regards
    Neal
     
    Neal_Morgan, May 23, 2011 IP