Results 1 to 4 of 4

Thread: CSS ID/CLASS

  1. #1
    User
    Join Date
    03-06-10.
    Posts
    54

    Default CSS ID/CLASS

    Hello people,

    i having some issues with css.
    i have a beautiful theme that i am going to put in to contao.
    only i find already one strange thing.

    look at the screen shot.

    [attachment=1:2fv0l9gc]2012-01-13_235254.png[/attachment:2fv0l9gc]

    when i want to add some css to a bit of text it is always going to be a ID

    [attachment=0:2fv0l9gc]2012-01-13_235317.png[/attachment:2fv0l9gc]

    i want it to be a CLASS how do i do that?

    much thanks.

    Tieme

  2. #2
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: CSS ID/CLASS

    maybe a bug? try a different classname to the id, and try without a hyphen to see.

  3. #3
    User
    Join Date
    03-06-10.
    Posts
    54

    Default SOLVED ---> CSS ID/CLASS

    i'm sorry my bad.
    i have made some changes in the template and i have removed the class phpcode :lol:
    that was i little mistake of mine but it's solved now.

    i removed this bit of code :

    Code:
    <?php echo $this->class; ?>

  4. #4
    jj7947
    Gast

    Default Re: CSS ID/CLASS

    Just a question on that. Was it the class in the php code that was over riding the current styles such as the IDs?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •