Separate boxes for text and/or images

Viewing 5 posts - 1 through 5 (of 5 total)
  • #5349
    cristina
    Participant

    Hi,
    is it possible to do separate boxes to insert text and pictures for differente users or people, to separate things in an elegant way? I would like to obtain something like that: http://narcononalfiere.it/operatori.html

    Can you help me? Thank you

    #5378
    Daniel Tara
    Keymaster

    You can only do that by wrapping content in a div with a custom class to which you assign custom style. Here’s an example:

    .box {
    	background:#EEE;
    	boder-bottom:#FFF1px solid;
    	boder-bottom:#DDD 1px solid;
    	border-radius:4px;
    	box-shadow:0 0 5px rgba(0, 0, 0, .1);
    }
    #5391
    cristina
    Participant

    Thank you! But I should insert this thing in the css file right? then I’ll have it on all pages… how can I have it only in some of the pages? in the editor I can write only html…

    #5393
    Daniel Tara
    Keymaster

    Add it in the css file and you’ll have the rule on all pages but it will only be applied on divs with the class box. e.g.:

    <div class="box">Lorem ipsum dolor</div>
    • This reply was modified 12 years, 6 months ago by Daniel Tara.
    #5395
    cristina
    Participant

    Ok, thank you very much!

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

You must be logged in to reply to this topic.