Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / background and border for ads

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

background and border for ads

More
11 years 1 month ago #4185 by aslani606
background and border for ads was created by aslani606
Hello
How to put background and border for ads?

I use the following code but I have a problem.
#home table {
    margin-left: auto;
    margin-right: auto;
}
.center {
    background-color: #E7FAFA;
    border: 1.5px solid #D11ED8;
    border-radius: 5px;
    height: 170px;
    line-height: 20px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
    text-align: center !important;
    width: 150px;
}



Thanks

url: eshtehard.org
Attachments:
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4187 by loic
Replied by loic on topic background and border for ads
Hello,

This problem happens all the time or only for the ads with the 'new' tag ?
The following user(s) said Thank You: aslani606, adarr
More
11 years 1 month ago #4189 by aslani606
Replied by aslani606 on topic background and border for ads
Hello
Yes,for the ads with the 'new' and 'hot' tag
Thanks
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4190 by loic
Replied by loic on topic background and border for ads
Hello,

The container of the tag 'new' and 'hot' have the same class '.center'.

You need to modify the code to assign another class to your ads and then, assign the style to the class you created.

You can do this by override the view of the module, everything is explain here :
www.joomprod.com/documentation/doc-view-override.html

You can override the module like the view from the component. You just need to create a folder named like the module in the html folder of your template and then create a new php file like the one from the module.

Then you copy-paste the content of the original file in your override.

And you will just have to update the override to make what you want.
The following user(s) said Thank You: aslani606, adarr
Moderators: perry
Time to create page: 0.293 seconds
Powered by Kunena Forum