WordPress.org

Forums

Customizr
Working with gallery (2 posts)

  1. dt125x
    Member
    Posted 1 year ago #

    How can I set 3 thumbnails in one row like gallery and when you click on theam they link to other page ?

    Thanks

  2. ElectricFeet
    Member
    Posted 1 year ago #

    Customizr uses the twitter bootstrap scaffolding, so you can use the following html in your page:

    <!-- ******************NEW ROW OF CONTENT****************** -->
    <div class="row-fluid">
    
    <div class="span4">
    ...INSERT_YOUR_IMAGE_WITH_THE_INSERT_MEDIA_BUTTON_AND_CHANGE_THE_ANCHOR_TAG_LINK_TO_YOUR_PAGE...
    </div>
    
    <div class="span4">
    ...INSERT_YOUR_IMAGE_WITH_THE_INSERT_MEDIA_BUTTON_AND_CHANGE_THE_ANCHOR_TAG_LINK_TO_YOUR_PAGE...
    </div>
    
    <div class="span4">
    ...INSERT_YOUR_IMAGE_WITH_THE_INSERT_MEDIA_BUTTON_AND_CHANGE_THE_ANCHOR_TAG_LINK_TO_YOUR_PAGE...
    </div>
    
    </div>
    <!-- ***************END OF ROW OF CONTENT****************** -->

    To understand the html to link to a page instead of your image:

    When you press the WordPress insert media and you have a caption, it inserts something like this:
    [caption id="attachment_908" align="aligncenter" width="300"]<a href="http://my-domain.com/wp-content/uploads/my-image.jpg"><img src="http://my-domain.com/wp-content/uploads/my-image.jpg" alt="my-caption-text" width="300" height="300" class="size-medium wp-image-908" /></a> my-caption-text[/caption]

    You need to change the href inside the anchor tag so that—instead of pointing to the image—it points to the page you want to link to. Something like this:
    [caption id="attachment_908" align="aligncenter" width="300"]<a href="http://my-domain.com/my-page-to-link-to"><img src="http://my-domain.com/wp-content/uploads/my-image.jpg" alt="my-caption-text" width="300" height="300" class="size-medium wp-image-908" /></a> my-caption-text[/caption]

    More on html images here and more on Customizr's layout here.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.