Viewing 20 posts - 1 through 20 (of 25 total)
  • Author
    Posts
  • #92393
    ayxaaron
    Participant

    Hi,

    How do I expand the content div of front page to be the same width as the slider?

    Cheers,
    Aaron

    #92402
    Mahesh
    Keymaster

    @atxaaron:
    Hi Aaron,

    Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:

    @media screen and (min-width: 981px) {
        .container {
            width: 100%;
        }
    
        #primary {
            width: 70%;
        }
    
        #secondary {
        	width: 25%;
        }
    }

    Regards,
    Mahesh

    #92403
    ayxaaron
    Participant

    Sorry, i meant, how do I expand the content so that it can fill up the white spaces as shown in the red box below ss

    #92404
    Mahesh
    Keymaster

    @ayxaaron: Add the follwing CSS.

    .no-sidebar.content-full #main .container,
    .no-sidebar.content-full #main #primary  {
        width: 100%;
    }

    Let me know if any problem.

    Regards,
    Mahesh

    #92405
    ayxaaron
    Participant

    Is there a way to limit the content width to be the same as the combined width of the logo and menu, or the width of the slider?

    #92406
    Mahesh
    Keymaster

    @ayxaaron: Do you mean to remove the padding in the content too? If so, add the following CSS:

    #content .hentry {
        padding: 5px;
    }

    Let me know further.

    Regards,
    Mahesh

    #92411
    ayxaaron
    Participant

    After applying the CSS, it became like this:

    However I need the page to display like this:

    Thanks for your help!

    #92412
    ayxaaron
    Participant

    the original template is like this:

    #92413
    Mahesh
    Keymaster

    @ayxaaron: Sorry, I was checking on small desktop screen so didn’t knew the problem. Please use the following CSS.

    #main .container {
          width: 100%
    }
    #primary {
          width: 100%;
          max-width: 1300px;
    }
    #primary #content .hentry {
          padding: 0
    }

    Let me know if any problem.

    Regards,
    Mahesh

    #92414
    ayxaaron
    Participant

    This works! Thanks so much 🙂

    Cheers,
    Aaron

    #92415
    ayxaaron
    Participant

    Sorry, I said it too early. The other pages were affected also.
    Originally:

    Now:

    Can I keep it at original but change the homepage? Sorry for the trouble

    #92428
    Mahesh
    Keymaster

    ayxaaron: No problem, replace the earlier CSS with the following. This will make the content width equal to slider’s width in homepage only.

    .home #main .container,
    .home #main #primary  {
        width: 100%;
    }

    Regards,
    Mahesh

    #92430
    ayxaaron
    Participant

    Problem solved, thanks a lot!

    Cheers,
    Aaron Ang

    #92760
    Senn_9212_Arnegg
    Participant

    How do i can set the colum wider. the menue bar is in two rows and i want just one. the Theme-option setting ist “No Sidebar – one colume”. i tried the above css but it does not help

    #92780
    Mahesh
    Keymaster

    @senn_9212_arnegg: Please post in your site url.

    Regards,
    Mahesh

    #92788
    Senn_9212_Arnegg
    Participant
    #92800
    Mahesh
    Keymaster

    @senn_9212_arnegg: Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:

    @media screen and (min-width: 481px) {
        .one-column .site {
            width: 90%
        }
    }

    Regards,
    Mahesh

    #94371
    jadk001
    Participant

    Hi sorry, Not sure if I should make new or not – Trying something similar but want to keep some of the padding but no where near as much … for both front page and blog posts…

    http://inspiredbymaps.com/

    Any idea how to make it so just kind of a little border…I tried the CSS above but that removes the padding completly and looks a bit weird …

    Thanks!

    #94403
    Mahesh
    Keymaster

    @jadk001: Do you mean to add some padding to the whole page so it would seem like a border. Try the following CSS. Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS and add the following CSS:

    #page {
        padding: 20px;
    }

    Let me know if any problem.

    Regards,
    Mahesh

    #94497
    jadk001
    Participant

    Hi Mahesh,

    I will keep that as it looks great but sorry not what i meant.

    Take for example this:

    http://inspiredbymaps.com/where-ive-been/

    I want the page to post to be as wide as the header…see how its only half width at the moment with alot of ‘gap’ either side?

    Thanks so much!

    Jordan

Viewing 20 posts - 1 through 20 (of 25 total)
  • The topic ‘front page width’ is closed to new replies.