i want my website sidebar background color to occupy full width right side

Discussion in 'CSS' started by mandi007va, Aug 1, 2017.

  1. #1
    i want my website sidebar background color to occupy full width right side

    so it looks like the side bar background color flows from right side full width.

    .sidebar:after is not working how to achieve that help me
     
    mandi007va, Aug 1, 2017 IP
  2. mandi007va

    mandi007va Member

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    if it cant be achieved also please let me know
     
    mandi007va, Aug 1, 2017 IP
  3. Frost1

    Frost1 Well-Known Member

    Messages:
    519
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    165
    #3
    You should post the link to your site so people can view the source code to help you out ;)
     
    Frost1, Aug 1, 2017 IP
  4. mandi007va

    mandi007va Member

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    my website is http://xookr.in/education-training and you can see a sidebar in this page and it is in left side. what i want is the left side bar background should occupy or it should cover the full width if left side , so it looks like the background color flows from left side screen
     
    mandi007va, Aug 1, 2017 IP
  5. mandi007va

    mandi007va Member

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    [​IMG]
    in this image see the sidebar it occupies the full width, i need to make my website looks like this same sidebar
     
    mandi007va, Aug 1, 2017 IP
  6. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #6
    The way your site is constructed, you won't be able to. You have a fixed-width container centered on the screen - get rid of that, and most other problems will go with it, I assume. It will introduce a lot of NEW problems, of course, but that's a different issue. Also, that site is horribly coded.
     
    PoPSiCLe, Aug 2, 2017 IP
  7. mandi007va

    mandi007va Member

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #7
    thanks for your tips....yes i know that fixed width for container but is there any other way i can do that without changing that fixed width.

    please let me know the other problems also because i am the horrible coder :p

    i am a new bie....so i know i have messed more in coding....
    plesae guide me in that also i will try to correct it
     
    mandi007va, Aug 2, 2017 IP
  8. j a m i e

    j a m i e Greenhorn

    Messages:
    24
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    18
    #8
    Hi @mandi007va,

    Is this what your're trying to do?


    [​IMG]


    G r e e n h o r n
    j a m i e
     
    j a m i e, Aug 2, 2017 IP