Jonathan Wills

About me:

Send private message

You must be logged in to send a private message.

Activity

  • Jonathan Wills added a new discussion topic Combining CSS in the group Elgg Technical Support
    I have loaded the Community Theme by Social Apparatus on a site of mine. In duing so I am trying to get the same look for everything. I have found a few plug-ins that are not in the default CSS. I am wondering should I just combine the CSS from...
    • Sometimes a plugin will include a separate css file not using the views - I know some of my earlier plugins do/did that simply because at the time I didn't know any better.

      These files are included after the default css using the metatags view, so they will always overwrite the default css unfortunately.

      Without modifying the offending plugins, the best option is probably to create your own external css file to include at the very bottom.

      In start.php, in the init function add:

      elgg_extend_view('metatags', '<theme_name>/metatags', 1000);

      create a file in the theme directory at /views/<theme_name>/metatags.php with the following content:

      <link rel="stylesheet" href="<?php echo $vars['url']; ?>mod/<theme_name>/css/style.css" type="text/css" />

      This will include your css file at the very bottom of the head section of the markup (assuming your theme is the lowest mod on the list.

       

      Another option is the liberal use of "!important" in your css.

      eg.

      div {

           background-color: #ffffff !important;

           padding: 5px !important;

      }

      You can define css in the default theme and anything tagged with !important will not get modified, unless the original author used !important too.

      I don't really recommend this though as it can make identifying the source of css styling very tricky to identify later on.

  • Jonathan Wills replied on the discussion topic Screenshots of Elgg sites
    www.ArmyCrewChief.com I modified the Commuity Theme from Social Apparatus. I used transparent gif's for my backgrounds. I also used a gif with 6 different pics as my main background image. My site is designed for Army Helicopter Crew Chiefs. I have... view reply
  • Jonathan Wills replied on the discussion topic Avatar Menu
    I have the Community Theme from Social Apparatus installed. I have modified some most of the CSS to get thelook that I want. I am not sure when the avatar menu jumped since I added the them after having most of the plug-ins installed. view reply
  • Jonathan Wills replied on the discussion topic How to add gender on registration page
    If you use profile manager you can define what informationyou want to display on profile page and if you want it required on registration, simple search and advanced... view reply
  • Jonathan Wills added a new discussion topic Avatar Menu in the group Elgg Technical Support
    I have done some great customize the apperance of my site, but I have 1 issue that I am having trouble fixing. On my dashboard the avatar drop down menu's link is showing up on the right side of the river, not on the left on the Avatar icon. I would...
  • Jonathan Wills replied on the discussion topic Localhost and remote host issue
    The error was actaullaan Id10t error/user issue (me). I have fixed it and getting my update uploaded.   Thank you, Jonathan view reply

Group membership