0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

How to add icon or image next to Article Title

    • RJuneja's Avatar
    • RJuneja
    • Sr. Rocketeer
    • Posts: 170
    • Thanks: 0

    How to add icon or image next to Article Title

    Posted 14 years 3 weeks ago
    • Hi,
      Is there someway by which i can add an icon or image to article title, e.g a home icon on the home page along with Home title.
    • Last Edit: 14 years 3 weeks ago by RJuneja.
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: How to add icon or image next to Article Title

    Posted 14 years 3 weeks ago
    • Hi there,

      Try taking a look at the Juxta demo - is this the sort of effect you mean?

      This is achieved by css code as shown below...
      .module-title .title {
           background: url("../images/body/modules/style2/module-title-icon.png") no-repeat scroll 12px 20px transparent;
      }
      There is also code required for positioning the text but all of that can be seen in the demo if you use Firebug.

      If this resolves your problem then please edit your first post by adding SOLVED at the start of the title and then select the green tick icon. This lets the moderators know that it can be moved to the solved section.

      Thanks for your cooperation :)

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
    • RJuneja's Avatar
    • RJuneja
    • Sr. Rocketeer
    • Posts: 170
    • Thanks: 0

    Re: How to add icon or image next to Article Title

    Posted 14 years 3 weeks ago
    • Thanks

Time to create page: 0.064 seconds