[SOLVED] downloads buttons not in line with the files name

More
9 years 3 months ago - 9 years 3 months ago #60545 by flodariege
Hi,
As you can see below, the files' names are not correctly aligned with the 'download' button :



How am I supposed to change this behaviour? (if possible)
Thank you.

Flo

Dare to dream, believe the unbelievable, never take no for an answer
Attachments:
Last edit: 9 years 3 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago - 9 years 3 months ago #60550 by ggppdk
Hello

you can use parameters:
prefix / suffix of every value

to place values (=files) inside cleared div boxes:

prefix of every value
<div style="float: left; clear: both;">

suffix of every value
</div>

[EDIT]
you can also customize HTML code
- coping and customize file: .../tmpl/value_InlineBoxes.php AS .../tmpl/value_InlineBoxes2.php
then select it in field configuration

you may post a link to the page, maybe it would be good to update our default CSS, to avoid effecting such by the Joomla template CSS


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 9 years 3 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago - 9 years 3 months ago #60619 by flodariege

ggppdk wrote: Hello

you can use parameters:
prefix / suffix of every value

to place values (=files) inside cleared div boxes:

prefix of every value
<div style="float: left; clear: both;">

suffix of every value
</div>


huuuuuu... Sorry :oops: I'm not THAT good, and I don't understand where I am supposed to do this... Could you please tell me more?

ggppdk wrote: [EDIT]
you can also customize HTML code
- coping and customize file: .../tmpl/value_InlineBoxes.php AS .../tmpl/value_InlineBoxes2.php
then select it in field configuration


:blink: ??? waouh, I'm really not good at all...

ggppdk wrote: you may post a link to the page, maybe it would be good to update our default CSS, to avoid effecting such by the Joomla template CSS


Ah ! this is something i am able to do ;)
The screen print above comes from this url:
www.rouchenergies.fr/qui-sommes-nous/qua...nce-energetique.html

Thank you for your help (and sorry to be such a zero...)

Flo

EDIT : sometimes, the same issue appear with the keywords, like here for example :



You can see it live here :
www.rouchenergies.fr/photovoltaique-en-a...ve-de-solarwatt.html

Dare to dream, believe the unbelievable, never take no for an answer
Attachments:
Last edit: 9 years 3 months ago by flodariege.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #60620 by Rooney
Hi, this is all basic css and html styling. I took a look with webdeveloper and changed two things:
added clear="all" to the br tag
Code:
<div class="flexi value field_fichier"> <span class="fcfile_mime"> <span class="fcfile_title">2016-certificat-118315-rouchenergies-e118315-1-20160308-rgeannexe.pdf</span> <div class="fcfile_actions"> <br clear="all"> <span class="fcfile_mime"> <span class="fcfile_title">charte bâtir avec l'environnement</span> <span class="fcfile_descr_tip"> <div class="fcfile_actions"> </div>
and changed the line hight to 35 px.
Code:
li { line-height: 35px; }
Of course this is quick and dirty and shall only show, that this is basic styling and there are definitely better ways to do this!

Rooney

Joomla! 3.9.24 and FC 3.3.9
Attachments:

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #60621 by ggppdk
Hello

1. Edit file field
2. Go to "Viewing" Tab and scroll down to the bottom
3. Configure parameters like the picture:



I think it is better to modify (for next version) our default code for "Line break"
and change from <br/> to <br class="fcclear"/>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Attachments:

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #60693 by flodariege
Hello,

It is a bit better, but not completely, since the first document still appear in the wrong place.
See by yourself:



Although I did as you said (or at least I think so) :



Could it have something to do with the fact that the opening tag is a closing one </div> and the closing one an openning one <div class="fcclear"> ?

Dare to dream, believe the unbelievable, never take no for an answer
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.786 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save