Forum Replies Created
-
Author
-
meltdownParticipant
Great – Thank you. Is it possible to center the image/gallery? I tried the following but it had no affect:
COPY CODE.article-media img { width: auto !important; margin-left: auto; margin-right: auto; }
Thanks again
meltdownParticipantThanks for your response. Isn’t the size that I want somewhat dependent on the size of the image, which may vary? What seems right to me would be that the image fills about 60% of the container width, even if the image itself is much bigger than that.
I would have that that your first solution, as seen below, would have worked, but it cut the image in half:
COPY CODE.article-media.kleo-banner-slider div { width: 50% !important; }
Using a percentage seems best, but can it be done without cutting the image?
Thanks again
meltdownParticipantUsing the following code found at this support thread new members are directed to a blank Membership Levels page (as pictured in the attached image). Why is the page blank if I have created a FREE membership level?
COPY CODEadd_action( 'template_redirect', 'my_membersip_restrict' ); function my_membersip_restrict() { global $pmpro_pages, $post; if ( is_user_logged_in() && !pmpro_hasMembershipLevel() ) { if (isset($post->ID) && !in_array($post->ID, $pmpro_pages)) { wp_redirect( pmpro_url() ); } } }
Without that code they are “registered” but NOT registered to my one membership level. How can they just be automatically subscribed to my membership level?
Thanks again
-
AuthorPosts