Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • iaassens Friend
    #204392

    Hello,

    This may seem a bit like a odd question so I will try to explain as best as I can.

    Working with articles in joomla, is there any possibility to have different backgrounds that reaches the whole canvas. I figured out how to make the backgrounds for the mainbody but not the entire canvas, from left browser edge to right browser edge.

    something like this, also see attached.

    <div class=”t3-wrapper green-bgr”>
    <div class=”col-md12″>

    </div>
    </div>

    <div class=”t3-wrapper blue-bgr”>
    <div class=”col-md12 blue”>

    </div>
    </div>

    thanks


    1. Browser
    phong nam Friend
    #562102

    You can assign different background for articles IF your articles assigned to special menu items(because we will use the page class to custom css background for different articles).

    For e.g: I have menu item named Typo and it assigned to Typography article, so my css code look like so

    .typome .t3-wrapper {
    background: #333
    }

    NOTE: You need to add the page class to Typo menu item first(Menu -> Your mainmenu -> menu item -> tab Page Display -> add typome into page class textbox) then put your custom css into ja.com/templates/uber/css/custom.css(create a new one if it does not exist)

    Useful tutorial here.

    Thanks

    iaassens Friend
    #562199

    Hi @leo Burnetts,

    Cool this actually works, so I would just need to assign more articles instead of having one articles split up in different paragraphs with different backgrounds.

    Thanks Leo,

    EDIT: hmm too fast i guess. This was actually not able to do what I needed since there is now way to assign the class to the actual article. Guess it can’t be done.

    phong nam Friend
    #562244

    <blockquote>EDIT: hmm too fast i guess. This was actually not able to do what I needed since there is now way to assign the class to the actual article. Guess it can’t be done.</blockquote>

    You cant change the whole background for your site by adding css class for your articles. The only way is assign article to a menu item then use page class feature to custom css code for the article page.

    Thank you

    iaassens Friend
    #562245

    Thank you clarifying this Leo 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  iaassens 9 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum