Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Template Width
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Template Width

Template Width 10 years, 11 months ago #10266

How can I adjust the template width?

I tried doing the following but it did not work.

(1) Open /templates/sj_plus/layouts/left-main-right.xml
(2) Added width="800px" to component.
The topic has been locked.

Re: Template Width 10 years, 11 months ago #10298

  • SA Thuy
Dear blink black,


SJ Plus is responsive template, if you fix width, it maybe display wrong in other devices. If you want set with for content, please go to your_site/templates/sj_plus/css/template-blue.css and find:

#content #yt_component {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    clear: both;
    margin-bottom: 30px;
    margin-top: -1px;
    min-height: 294px;
    padding: 15px;
}

=>
#content #yt_component {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    clear: both;
    margin-bottom: 30px;
    margin-top: -1px;
    min-height: 294px;
    padding: 15px;
    width: 800px;
}


Thanks
The topic has been locked.

Re: Template Width 10 years, 11 months ago #10300

Thanks for your response. Yes I want a fixed setting. I tried what you indicated but it still wont work. Take a look below. I chose template-purple.css since that is my current theme

nollycentral.com/nollywood

Secondly, do you know why your subscription doesnt work. I am subscribed to all my Topics but I do not get an email when someone replies.
Last Edit: 10 years, 11 months ago by blink_black.
The topic has been locked.

Re: Template Width 10 years, 11 months ago #10324

  • SA Thuy
Dear Buni Bunie,

In Template Manager, you chose Development with lesscss, so it compile from less file to css. Please choose 'No' in Development with lesscss field.

Thanks
The topic has been locked.

Re: Template Width 10 years, 11 months ago #10326

Thanks. I just set it to NO. There is just one more problem left. The left and right widths dont wanna go to 160px. The module published there is 160px but they are occupying the entire space. Take a look here: nollycentral.com/all-movies/46-joy-of-the-illiterate-2
The topic has been locked.

Re: Template Width 10 years, 11 months ago #10338

  • SA Thuy
Dear Buni Bunie,

please go to your_site/templates/sj_plus/css/ttemplate-purple.css and add the code:
#content_main
{
width: 800px;
}


And:

#content #yt_component {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    clear: both;
    margin-bottom: 30px;
    margin-top: -1px;
    min-height: 294px;
    padding: 15px;
    width: 800px;
}

=>

#content #yt_component {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    clear: both;
    margin-bottom: 30px;
    margin-top: -1px;
    min-height: 294px;
    padding: 15px;
    width: 100%;
}


Thanks
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.25 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes