Jump to content
Pornostar

CSS

Recommended Posts

Pornostar

Hello,
I have the following problem. In my template I define the width and height of the thumbs. (Example: <div class="image fit">__THUMB.533.800__</div>) Unfortunately, WIDTH and HEIGHT will also appear in the output. How can I turn it off because I control it via a CSS. Likewise, ALT and TITLE are output. I would like to be able to vary that.


thx Maik

Share this post


Link to post
Share on other sites
Robert
5 hours ago, Pornostar said:

Hello,
I have the following problem. In my template I define the width and height of the thumbs. (Example: <div class="image fit">__THUMB.533.800__</div>) Unfortunately, WIDTH and HEIGHT will also appear in the output. How can I turn it off because I control it via a CSS. Likewise, ALT and TITLE are output. I would like to be able to vary that.


thx Maik

You'd need to edit the functions file. Locate this file: userFunctions.inc.php

Then just do search for ALT= and each line likely has the ALT, WIDTH and HEIGHT tags. Just edit as needded (make a copy of the file in case you make a mistake).

That said, having it in the source it does not hurt anything. It does not hurt SEO. And, by defining it in the source, it tells the browser what to do immediately versus having it calculated or determined via an extra http call/external file (css). In other words, it's also efficient.

Share this post


Link to post
Share on other sites
Pornostar

ok, thank you i will test it

Share this post


Link to post
Share on other sites
Robert

Ok, great. Glad it worked out for you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. policies