• I am trying to position an image behind the text within a content box, however, am unsure of how to adjust the short code. I would appreciate any assistance you could offer.

    Currently, the image is on top of the box and is not lined up.

    Here is the snippet of code from one of my content boxes. Thank you in advance.

    <div style="margin-top: 160px; margin-bottom: 200px;">[content_boxes layout="icon-boxed" columns="2" class="" id=""]
    <strong>[content_box title="Bachelor's Programs" backgroundcolor="#FFFFFF" icon="" iconcolor="#275d39" circlecolor="#fdb813" circlebordercolor="" iconflip="" iconrotate="" iconspin="no" image="http://veterans.saintleo.edu/testwp/wp-content/uploads/2014/06/gold-powerpoint-background.jpg" image_width="326" image_height="218" link="http://online.saintleo.edu/academics/degree-completion-online.aspx" linktarget="_blank" linktext="View Bachelor's Programs" animation_type="0" animation_direction="down" animation_speed="0.1"]Overcome career advancement obstacles by earning an online degree that emphasizes critical thinking and leadership.[/content_box]</strong>[content_box title="Master's Programs" backgroundcolor="#FFFFFF" icon="" iconcolor="" circlecolor="" circlebordercolor="" iconflip="" iconrotate="" iconspin="no" image="" image_width="35" image_height="35" link="http://online.saintleo.edu/academics/masters-programs.aspx" linktarget="_blank" linktext="View Master's Programs" animation_type="0" animation_direction="down" animation_speed="0.1"]Raise your profile with a highly specialized advanced degree that values rigorous independent thinking and applied knowledge.[/content_box]
    [/content_boxes]</div>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]

Viewing 1 replies (of 1 total)
  • This is a CSS question and not WordPress, although you are using shortcode to upload content, do not quite know why, but anyway, I suggest you look for a specialized forum or search by HTML + CSS.

Viewing 1 replies (of 1 total)
  • The topic ‘How to position a image behind content box in WordPress?’ is closed to new replies.