WordPress.org

Ready to get started?Download WordPress

Forums

How to have different sections (5 posts)

  1. camdixon
    Member
    Posted 1 year ago #

    Hi,

    How would you do something like this?
    http://themeforest.net/item/longwave-responsive-html-template/3769388
    With the 4 different links like Freebies, Twitter, Facebook, Themeforest?

    I realize they are links, and probably have margins in the css file on the <_a> attribute. Do you just put the images in a page under wordpress and then add the css to the <_a> attribute for the child theme?

    I also noticed they had a special div on that page to hold the links. Is that needed, and if so how do you add a div to a page you create?

  2. posthawk
    Member
    Posted 1 year ago #

    if it's a static page, couldnt you just insert images and give them links when you type up the page?

  3. ahortin
    Member
    Posted 1 year ago #

    As @posthawk mentioned, they're just static images with links.

    When you edit your page, upload the image from within the Visual Editor and then simply insert them into your page with the relevant link.

    If you want to add padding or margin to them, you can click on the image once it's inserted in your page, to edit it, and add a css class to it and then assign padding/margin to that particular class within your stylesheet.

    or...

    You can simply add padding/margin to the img tag within your stylesheet. This will then add that padding & margin to all images.

    It just depends what you're trying to achieve.

  4. camdixon
    Member
    Posted 1 year ago #

    Awesome,

    Yes, thanks to you both, and playing with the css and pages for a bit, I have achieved what I needed. Thanks.

    Cheers!

  5. camdixon
    Member
    Posted 1 year ago #

    Hi,

    another question for you guys. I have done what was mentioned before, but wanting to expand on it a bit.

    Is there a way on how to have two different sections on a 'page' inside wordpress? Say I click add page, call it home or whatever, I have the sidebar on the right with the widgets automatically added by php.

    As in can I use a 2 divs, and separate them on a page within wordpress or to do that do I have to make a special php template page?

    This is still related to my first question above, but I want links and text now, now just image links like I asked about first.

Topic Closed

This topic has been closed to new replies.

About this Topic