Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/29/2015 10:42:56 PM (9 years ago)
Author:
imath
Message:

Introduce functions to register and enqueue the Cover Images Javascript and Css

  • Add the cover-image.js Javascript and register it inside Core Common Scripts
  • Make sure to enqueue Cover Images script only when needed ("change-cover-image" screens)
  • Create a new function to attach an the inline css specified inside the Cover Image feature settings
  • Create the inline css for BP Legacy.
  • Adjust our main css file (buddypress.css) and the companion stylesheets
  • Add the Cover Images Backbone template into bp-legacy/buddypress/assets/_attachments

Props r-a-y

See #6570

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/twentythirteen.scss

    r9972 r10155  
    12681268                    width: 20%;
    12691269
    1270                     img.avatar,
    12711270                    a {
    12721271                        float: left;
    1273                         width: 100%;
    12741272                    }
    12751273                }
Note: See TracChangeset for help on using the changeset viewer.