By Christian van Laarhoven on Tuesday, 12 January 2016
Posted in Technical Issues
Likes 0
Views 662
Votes 0
Hello,

I maybe found a bug, today i was styling a Latest Blogs Module, and when i was trying to add a class to it, (for styling it with a custom css page) the class apeared twice in the html code.

Here are some screenshots.
http://prntscr.com/9p2znm (screenshot of the 2 classes in the code)
http://prntscr.com/9p2zxe (place where i tried to put a class)

Is this a bug? Or do i need to add the class somewhere else?
our site
Cheers!
Rob
It's actually not a bug Christian... It's the default behavior of Joomla modules as well
·
Tuesday, 12 January 2016 17:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh and I forgot,

If you dont enter a space at this field ( http://prntscr.com/9p323y ), the classes in this field ( http://prntscr.com/9p32b6 ) have no space between it, so CSS doesn't read it as 2 seperate classes.

Cheers
·
Tuesday, 12 January 2016 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Then I didn't say anyting

Cheers
·
Tuesday, 12 January 2016 17:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Haha, but it seems like a lot of users are getting confused over this. I believe the reason that Joomla is not adding a space is because they want to allow you the ability to reset the module entirely by change the class names of the module wrapper.
·
Tuesday, 12 January 2016 17:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh haha that explaines alot
That's actually a nice trick from Joomla, maybe its usefull in the future :P Thanks for the information

Thanks!
Rob
·
Tuesday, 12 January 2016 21:04
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Rob
·
Tuesday, 12 January 2016 21:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post