Get off bike on crosswalk?
Here is a good reference for California's bicycle laws.   Lafayette's laws are here.

I found nothing prohibiting riding on sidewalks, and nothing specifically mentioning riding in the direction of the crosswalk.  However both the state and city codes require bicyclists to yield to pedestrians in crosswalks.