Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #5297

    Hello,

    How can I add a horizontal image below the main menu? I tried by using the slideshow option from the template builder but only shows the text of a post. Is there any option to have a full width horizontal image or slide below the menu?

    Thanks.

    Xavi

    #49598

    Hey,

    did you add a featured media to this post? You can set images/slideshows for posts and pages by clicking on the “upload” button in the “Add featured media” options field. The slideshow should display one or more images and not just a text.

    #49599

    Yes, of course. I have a post with a full width size image or images, in fact I’m trying with the example post “custom lightbox”. Then from the template builder I add a Slideshow option at the top and select this post, but when refresh the website is showing the post but only the descriptioni, not the image.

    Maybe there is another way to do that. What I would like to do is to have a full width size image just below the main menu and before the blog and right column!

    Thanks.

    Xavi

    #49600

    Ok – in this case the easiest solution is to hardcode the image. Open up index.php and after following code line:

    <div class='container_wrap' id='main'>

    add your image like:

    <div class='container_wrap' id='main'>
    <img src="http:/my-image.jpg" alt="" title="" width="940" />

    Instead of http:/my-image.jpg fill in your image url and add a title/alt attribute text.

    #49601

    Hello,

    I tried what you told me and is not working. In the index.php file of theme, I am adding the image or any content after <div class=’container_wrap’ id=’main’> as he shared. But nothing is showing.

    <div class=’container_wrap’ id=’main’>

    <div style=”width:100%;” align=”center”>

    <div style=”width:940px; border:1px solid red;” align=”center”>

    /images/skin-minimal/logo.png” width=”935″ height=”125″ />

    </div>

    </div>

    Can you please tell me what we are doing wrong?

    Thanks.

    #49602

    Please try an absloute path like:

    <img src="http://domain.com/my image.jpg" />

    #49603

    Hi Dude,

    We tried wha t you commented but still not working. For the image path, I used wordpress function <?php bloginfo( ‘template_url’ ); ?> which gives absolute path.Also tried using the URL directly and neither works.

    Do you hve any other solution for that?

    Thanks

    Xavi

    #49604

    Hey,

    have you tried exactly this?:

    <div class='container_wrap' id='main'>
    <div style="width:100%;" align="center">
    <div style="width:940px; border:1px solid red;" align="center">
    <img src="http://domain.com/my image.jpg" />
    </div>
    </div>
    </div>

    If this doesn’t work for you can you please link us to the page you’re working with?

    #49605

    Now sems that works!!

    Thanks.

    Xavi

    #49606

    Glad that Chris could help you :)

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Slidshow’ is closed to new replies.