WordPress.org

Ready to get started?Download WordPress

Forums

Positioning content using CSS (5 posts)

  1. devanijanssen
    Member
    Posted 1 year ago #

    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?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    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?

  3. devanijanssen
    Member
    Posted 1 year ago #

    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;
    }

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    What HTML does that shortcode produce?

  5. devanijanssen
    Member
    Posted 1 year ago #

    I found it there. Thanks, Andrew!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.