WordPress.org

Support

Support » Themes and Templates » Positioning content using CSS

Positioning content using CSS

  • When I use html tags such as “<p … /p>” tags, the custom CSS correctly recognizes the id that I give it. When I use the brackets that my short code generator uses (example: [postgallery_image … /] the content is not recognized when I reference its id in my CSS. Any ideas on what my problem is?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    How are you referring [postgallery_image ... /] in your CSS, can you post the code?

    Can you also post a link to one webpage with the problem?

    I’m running on local host but hopefully this will give you an idea with what I’m doing…

    Here is what I have on my “edit page” page:

    [postgallery_image width=”400″ height=”300″ media_categories=”stage-home” id=”gall” animation=”fade” tween=”linear” navigation=”disabled” /]

    Here is my CSS:

    #gall {
    position: absolute;
    top: 50px;
    left: 100px;
    }

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    What HTML does that shortcode produce?

    I found it there. Thanks, Andrew!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Positioning content using CSS’ is closed to new replies.
Skip to toolbar