Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    red flag Can someone pls help to modify this layout? Aberdeen

    Hi Gurus,

    I am not familar with php or css, my exp is on asp.net/sql so I need your help.

    I am using aberdeen template because I need a slide for my website. The problem is I want the slide's width be adjustable and I don't know where to do it.

    Second, I want to adjust the side columns' position, pushing them down the side while making the slide across the whole page. or even turn off both side columns.

    Please help, thank you very much.

    Here is my site:

    http://www.xiexianhui.com/ibnest

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Can someone pls help to modify this layout?

    I can't answer your first question, as I don't use sliders, but it appears that the slider dimensions are set in the #slider rule in the stylesheet.

    For the other, you would need to use margin-top: in the #navColumnOneWrapper and #navColumnTwoWrapper rules to move them down, then use absolute positioning to place the slider where you want it.

  3. #3
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Can someone pls help to modify this layout? Aberdeen

    Quote Originally Posted by mdivk View Post
    Hi Gurus,

    I am not familar with php or css, my exp is on asp.net/sql so I need your help.

    I am using aberdeen template because I need a slide for my website. The problem is I want the slide's width be adjustable and I don't know where to do it.

    Second, I want to adjust the side columns' position, pushing them down the side while making the slide across the whole page. or even turn off both side columns.

    Please help, thank you very much.

    Here is my site:

    http://www.xiexianhui.com/ibnest

    If you read the readme file included in the template package there are detailed instructions on how to use images in the slider that are different dimensions than the default.

    Thanks,

    Anne

  4. #4
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    Default Re: Can someone pls help to modify this layout? Aberdeen

    I modified some settings:

    1. turned off all side columns through Tools->Layer Box Controller

    2. Make the slide bigger: 950*250 in stylesheet.css

    Now how do I move the slide left so it can sit in the middle of the page?

    It would be great if you can tell me how to do this sort of style tricks by refer me somewhere that explains each item in stylesheet.css (is there such one?)

    Big thanks in advance.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Can someone pls help to modify this layout? Aberdeen

    If you don't plan to reactivate the sideboxs, turn the the columns off globally in Admin - Configuration - Layout Settings.

    For future reference, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

    (If you're using Firefox 4-8, you'll need to remap the editor shortcut, since Firefox has appropriated Ctrl-Shift-E for an internal function - I use Ctrl-Shift-Q.)

  6. #6
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    Default Re: Can someone pls help to modify this layout? Aberdeen

    Quote Originally Posted by stevesh View Post
    If you don't plan to reactivate the sideboxs, turn the the columns off globally in Admin - Configuration - Layout Settings.

    For future reference, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

    (If you're using Firefox 4-8, you'll need to remap the editor shortcut, since Firefox has appropriated Ctrl-Shift-E for an internal function - I use Ctrl-Shift-Q.)
    Thanks for the info, but could you tell me how do I shift the slide to the middle of the page?

    I tried a few, still couldn't get it working. Sorry for giving you more work, can you use the plugin to adjust my website? http://www.xiexianhui.com/ibnest

  7. #7
    Join Date
    Apr 2010
    Posts
    319
    Plugin Contributions
    0

    Default Re: Can someone pls help to modify this layout? Aberdeen

    check your left column is definitely off

    add to includes/templates/YOUR TEMPLATE NAME/common/tpl_main_page.php

    PHP Code:
      if ($this_is_home_page) {
         
    $flag_disable_left true;
      } 
    just after

    PHP Code:
      if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
        
    $flag_disable_right true;
      } 
    hope this helps

    bryan

  8. #8
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    Default Re: Can someone pls help to modify this layout? Aberdeen

    Quote Originally Posted by bn17311 View Post
    check your left column is definitely off

    add to includes/templates/YOUR TEMPLATE NAME/common/tpl_main_page.php

    ....

    bryan
    Thanks, why I don't see tpl_main_page.php in the folder?

  9. #9
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    Default Re: Can someone pls help to modify this layout? Aberdeen

    Quote Originally Posted by mdivk View Post
    Thanks, why I don't see tpl_main_page.php in the folder?
    the file actually exists in \includes\templates\template_default\common, I'll try there

  10. #10
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    Default Re: Can someone pls help to modify this layout? Aberdeen

    Quote Originally Posted by bn17311 View Post
    check your left column is definitely off

    add to includes/templates/YOUR TEMPLATE NAME/common/tpl_main_page.php

    PHP Code:
      if ($this_is_home_page) {
         
    $flag_disable_left true;
      } 
    just after

    PHP Code:
      if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
        
    $flag_disable_right true;
      } 
    hope this helps



    bryan
    Thank you, it works!!! just the file location should be the one I post here

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Can someone pls help to correct this for me? Thank you.
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 20 Nov 2011, 03:42 AM
  2. Can someone please help me to modify this sanitizer function for Google Base Feeder?
    By lankeeyankee in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 27 Jan 2008, 05:37 AM
  3. i like this layout, can someone help!!
    By corbo in forum General Questions
    Replies: 0
    Last Post: 8 Aug 2007, 03:52 AM
  4. Can someone please help me with layout?
    By Jan51 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 13 Aug 2006, 09:05 AM
  5. Can someone help this newbie?
    By awatts65 in forum Basic Configuration
    Replies: 22
    Last Post: 10 Jul 2006, 03:29 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR