Jump to content


Photo
- - - - -

Image usage in RevSlider

DMS2 RevSlider

Best Answer Danny , 03 August 2014 - 10:54 AM

Hi,

Why the need to add an image between the H2 tags ? Why not just add the image after like so:

 

<h2>...</h2>

<img src="...">

 

If you want to know more about HTML, I suggest reading the W3C and W3Schools websites.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 jmad

jmad

    Advocate

  • Members

  • 964 posts
  • LocationCentral Florida
  • Framework Version:DMS
  • Country: Country Flag

Posted 01 August 2014 - 07:23 PM

I'm using this in RevSlider...but I want to add an image as well.  I've added the image source between h2 tags like 

<h2 class="slide-title"><img src="kjfas"></h2> and it works but is this the correct method?  I have tested for html errors but this seems like an odd way to handle.

 

 

 

<div class="caption sft"  data-x="center" data-y="100" data-speed="700" data-start="1700" data-easing="easeOutBack">

<h2 class="slide-title">KICKSTART YOUR WEBSITE</h2>

</div>

<div class="caption rvslide-opt2 lft"  data-x="center" data-y="142" data-speed="500" data-start="1900" data-easing="easeOutBack">

<h2 class="slide-title">WITH SLIDER REVOLUTION!</h2>

</div>

 


#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 17666 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 03 August 2014 - 10:54 AM   Best Answer

Hi,

Why the need to add an image between the H2 tags ? Why not just add the image after like so:

 

<h2>...</h2>

<img src="...">

 

If you want to know more about HTML, I suggest reading the W3C and W3Schools websites.



#3 jmad

jmad

    Advocate

  • Members

  • 964 posts
  • LocationCentral Florida
  • Framework Version:DMS
  • Country: Country Flag

Posted 03 August 2014 - 04:59 PM

That's what I was asking.  Since Rev Slider wraps everything in h2, I was just checking...Dude I use W3C and W3Schools all the time.







Also tagged with one or more of these keywords: DMS2, RevSlider