[resolved] Different Positions of content in each template (4 posts)

  1. tanwaniniranjan
    Posted 3 years ago #

    i want to set different positions for the content in each template in the theme.
    here is a sample layout 1

    and here is sample layout 2

    the red hairline rectangle would be the content area.
    the menu item in white would be the active menu item.

    as you can see, i want the content to the right of the active menu item. the question is, how do i achieve that?
    please help me with the same. thank you!

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    I think your query would be best answered in forums specialising in HTML, CSS and jQuery, unless you're asking for a specific theme.

  3. tanwaniniranjan
    Posted 3 years ago #

    well, this is still a concept. the images that i have put up are from corel draw.
    would be great if yoy can help.

  4. tanwaniniranjan
    Posted 3 years ago #

    Got It!
    inserting "n" "inline" classes in a container can help you get "n" different inline divs. the place where you can do it in the wordpress code is:

    <div class="layout-wrapper">
        <div class="content-layout">
            <div class="content-layout-row">
                <div class="layout-cell content">
    	       <strong><div class="inline"></strong>
    			<?php get_sidebar('top'); ?>
    				if(have_posts()) {
    					/* Start the Loop */
    					while (have_posts()) {

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.