News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

content plugin output not filling the page

Started by goshillo, 06.07.2016 12:45:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

goshillo

Joomla

3.5.1







- Jdownloads 3.2.44 - systeminfo attached.
The correct output from jdownloads category view is show in capture-1; then if I try to use content plugin see capture-2 I got the ouput in capture-3. How can I have the output from content plugin filling the entire page width?
Many thanks and regards

[gelöscht durch Administrator]
  •  

ColinM

Hi
My test site using the standard default template does not show this problem so it is site specific.
There is probably some css difference between the two setups due to the template you are using.  We can sort this by some additional css.
To advise I need to know your web page showing the content plugin and I can then see what css needs to be introduced. 
I should not need any login details so you could post the address in a reply  to this post or you could PM me for security.

It maybe the extra css is beneficial to every one or it maybe that you have to add it to jdownloads_custom.css

Colin
Colin M
  •  

goshillo

Hi Colin, thanks for the help. The page is: http://www.pctutor.it/test/jd/files-cat.html    Template is J51 Classic Free (from Joomla 51) the custom CSS of the template is empty, also the cistome CSS od JDownloads is "ad installed" no modifications or additions.
  •  

ColinM

Goshillo
A solution is to add to yor jdownloads_custom.css the following
jd_content_plugin {
  width: 100%;
}

With the next release (v45 - which is in test) I have changed some css so please try commenting it out.  If you still need it then change to
.jd_content_category {
  width: 100%;
}

I do not understand what is causing the width to not transfer but there is some template css I am not quite understanding!

Also with v45 there will be a new article about use of the Content Plugin

I think you have the content plugin contained in a paragraph <p> ...</p>
Could you try in a Div <div>   </div> as that may inherit better and in principle one cannot have a <div> in a <p> so most editors fix it by treminating the <p> early in the generated code.

Colin
Colin M
  •  

goshillo

Hi Colin,
I set the <div> in place of <p> and put the code in the jdownloads_custom.css but nothing changed. Is there any parameter to activate the custom css?
Thanks
  •  

ColinM

#5
Hi
jdownloads_custom.css is being loaded but it does not have the code in it! It is always automatically loaded by jDownloads.
How did you put the code into jdownloads_custom.css?Did you Save?
Please see notes at end of
http://www.jdownloads.net/documentations/item/custom-css

I added it dynamically with Firefox Inspector and it works OK but I cannot obviously make a permanent change.
Colin
EDIT:
PS Whoops! Just seen that I left out the leading . in the css!
should be
.jd_content_plugin {
  width: 100%;
}
Colin M
  •  

goshillo

Great Colin!!!!!! Now it works! Many many thanks.
  •