Fixed width prob in High end

  • Resolved
    Posted in: Highend WP Theme  
  • Customer
    Dean McDonald
    February 1, 2015 at 5:22 am #25755

    re post #5958 I got asked to make my own thread
    Please open up the functions.php file of the Highend theme and locate this piece of code:

    /* SET CONTENT WIDTH
    ================================================== */
    if (!isset($content_width)) {
    if (hb_options(‘hb_content_width’) == ‘940px’) {
    $content_width = 940;
    } else {
    $content_width = 1140;
    }
    }

    Change it simply to:

    /* SET CONTENT WIDTH
    ================================================== */
    if (!isset($content_width)) {
    $content_width = 1280;
    }

    (You can locate the file when you go to Appearance > Editor and change this online)

    Regards,
    HB-Themes

    and post #25687

    Dean McDonald
    January 31, 2015 at 12:49 am #25687

    Ah its under Theme Functions
    its not listed under thr “F”s

    found thanks

    Did this:
    /* SET CONTENT WIDTH
    ================================================== */
    if (!isset($content_width)) {
    $content_width = 1280;
    }

    down to……. /* THEME OPTIONS nothing changed!

    and why di we not require thi bit you had me delete??

    if (hb_options(‘hb_content_width’) == ‘940px’) {
    $content_width = 940;
    } else

    re reply #25718

    HB-Themes
    January 31, 2015 at 7:31 pm #25718

    Hi Dean,

    I believe that code will not make changes which you are looking for.
    Can you explain a little bit more what you are trying to achieve?

    Are you looking to create fullwidth layout, like we did on this page: http://hb-themes.com/themes/highend/photography/about/

    Regards,
    HB-Themes Support Team

    ———————————————–
    The set widths in Highend are under Highend THeme optiona we can go to , General Layout, then at the bottom of the options list it says I have 3 choices.
    1-940px 2-1140px or 100% full width,
    it says there in the text – I can also change to ANY width in the custon CSS
    ie> can I have a wider layout then 1140pxl but not FULL WIDTH?
    SAY SET IT TO 1280PXL.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.