Increasing number of boxes on homepage

Discussion in 'Andrina WordPress Theme' started by annesart, Oct 15, 2013.

  1. annesart

    annesart New Member

    Joined:
    Oct 14, 2013
    Messages:
    2
    Likes Received:
    0
    ON the homepage of this theme I want to increase the number of boxes from 4 to 8 (4 x2). I know this is doable but figured i would ask where do I add the appropriate code vs. breaking it. Thanks for your time.
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Go to the front-page.php file present in your theme directory and paste the following code in this file as shown in the image given below.

    Code:
    <div class="feature-content">
            <div class="feature-item">
                <a href="Enter your link for fifth feature image"><img src="Enter the URL address of fifth feature image " alt="Feature Image 5"/></a>
                <h4>Enter your heading for fifth feature section</h4>
                <p>Enter your description for fifth feature section</p>       
            </div>
            <div class="feature-item">
                <a href="Enter your link for sixth feature image"><img src="Enter the URL address of sixth feature image " alt="Feature Image 6"/></a>
                <h4>Enter your heading for sixth feature section</h4>
                <p>Enter your description for sixth feature section</p> 
            </div>
            <div class="feature-item">
                <a href="Enter your link for seventh feature image"><img src="Enter the URL address of seventh feature image " alt="Feature Image 7"/></a>
                <h4>Enter your heading for seventh feature section</h4>
                <p>Enter your description for seventh feature section</p>       
            </div>
            <div class="feature-item">
                <a href="Enter your link for Eighth feature image"><img src="Enter the URL address of Eighth feature image " alt="Feature Image 8"/></a>
                <h4>Enter your heading for Eighth feature section</h4>
                <p>Enter your description for Eighth feature section</p> 
            </div>
        </div>
        <div class="clear"></div>
    [​IMG]


    This will solve your issue.
     
  3. annesart

    annesart New Member

    Joined:
    Oct 14, 2013
    Messages:
    2
    Likes Received:
    0
    Perfect. Tried it and it worked. My last question (hopefully :)) is what do I need to add to the code in the theme customization so I can add images and text to the 5th through 8th box. Hope that makes sense. Thanks again for your help
     

    Attached Files:

  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    You have to manually add your links and images in the code given above.
    It is not possible to add these content through theme option panel.
     

Share This Page