Márcio Moreira

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • Hello, We have Elgg 2.3.14 installed and some questions. In our site users have uploaded lots of files to theirs personal pages, but in fact those files should have been uploaded to the communities instead. 1. Is it possible to disable the...
  • Márcio Moreira added a new discussion topic How to increase "Add a topic" font size? in the group Beginning Developers
    Hello, I have just discovered elgg and it seems a very nice software. I would like to make it very easy for a user to reach an "add a topic" button, like it is very easy to post a new topic in Facebook. For example, how can I...
    • You might want to keep in mind that some people use smartphones and it would surely annoy them if half the screen in filled with such a button due to a too large font size.

      Elgg's title section buttons (which are usually used for offering and "Add" option) use the "elgg-button elgg-button action" classes to format the button layout. These classes are defined in views/default/css/elements/buttons.php. Increasing the font size can be done by increasing the value of the font-size parameter within the elgg-button class. But then ALL buttons of Elgg will show their text in a larger font! You could limit the larger font size to elgg-button-action type buttons by defining the font-size within the elgg-button-action class additionally. But this will still change the font size within all elgg-button-action type buttons. An even more fine grained definition of font-sizes would mean a much higher effort. You would have to modify the code everywhere where such a button is added within the code specifially.

      If you want to change the CSS of Elgg core (i.e. the button classes) nevertheless, you might want to read http://learn.elgg.org/en/2.0/guides/themes.html to learn how to modify the files without changing Elgg core files directly.

    • Stick to the 1.12 docs unless you're bravely trying out 2.0 :) http://learn.elgg.org/en/1.12/guides/themes.html

      I don't know why they're defaulting to 2.0 and I can't change it at the moment.