New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customization of home html pages and css #5939
Comments
@MohanaPriyaNarapareddy hi! Do these links help?
Maybe I'm not sure what you're asking. 😄 |
thanks for your reply. I also want the current styling sheets of the dataverse. |
Sure, as mentioned at http://guides.dataverse.org/en/4.14/style/foundations.html the main file is structure.css and you can find the latest released version at https://github.com/IQSS/dataverse/blob/v4.14/src/main/webapp/resources/css/structure.css |
Thank you. |
Thanks @pdurbin for responding and @MohanaPriyaNarapareddy for the questions. I'm going to close this one out as it looks like it's all set. |
@pdurbin I couldn't find the HTML and CSS sheets of the home page. The home page mentioned |
@MohanaPriyaNarapareddy it looks like you're trying to add what we'd call a Custom Header. This is documented at http://guides.dataverse.org/en/4.14/installation/config.html#custom-header Please let me know if this helps. |
i am not trying to add the header. I am trying to use the above dataverse home page in my custom template with the help of iframe. I am unable to locate the html and css pages of the current dataverse home page. can u direct me to the location? |
@MohanaPriyaNarapareddy hmm. I'm confused about what you're trying to do. I would suggest emailing https://groups.google.com/forum/#!forum/dataverse-community with something like this: "Subject: help with customization/branding I'm looking for some help with customization/branding of my installation of Dataverse. Can you please look at Thanks" @shlake recently did a lot of customization of https://dataverse.lib.virginia.edu which looks like this: Others on that mailing list might be able to share their stories and code as well. |
Sure. will email them. I just need the styling sheets of the current dataverse home page. |
Hi @MohanaPriyaNarapareddy, it sounds like you are trying to have a home page that displays all the datasets and dataverses, along with the filters on the left, as shown in the image you added earlier today. In the guides I think we call that the "root dataverse" page. We call a home page something that an installation has customized, and that appears before a root dataverse page, if there is one and a user navigates to the "top" page of your installation. If this is the case, you would not want to use a custom home page (custom-homepage.html). |
Hello Tania, Thanks for your response. Can u direct me to the styling sheets of the "root dataverse page"? |
@MohanaPriyaNarapareddy hi! @TaniaSchlatter just stopped by my desk and we think you'd like to apply custom CSS to your Dataverse. Here's an example of custom CSS at https://edatos.consorciomadrono.es Is this the sort of customization you're interested in? If so @juancorr can probably direct you to the custom CSS they are using. |
yes, can u direct me to the html and css sheet of the root dataverse page? |
I believe it's all in here: https://github.com/IQSS/dataverse/blob/v4.15/src/main/webapp/resources/css/structure.css |
Have gone through this earlier. couldn't find the html of the root dataverse page |
@MohanaPriyaNarapareddy here is the HTML for the dataset cards on the root dataverse page, for example: https://github.com/IQSS/dataverse/blob/v4.15/src/main/webapp/search-include-fragment.xhtml#L498 |
Hello @MohanaPriyaNarapareddy, In e-cienciaDatos, we have done some changes in dataverse.xhtml (main home page) y dataverse_header.xhml . You can see the source code in https://github.com/Consorcio-Madrono/dataverse/tree/v4.11eDatos/src/main/webapp . You can compare our code with the original v4.11 dataverse code. We have customized css, footer and header too: I hope it helps. |
@juancorr thanks! I didn't know your custom CSS file is on GitHub! |
I am trying to disable the display of the root dataverse theme, so that I can remove the dataverse logo and navigation bar, which helps my customization. |
@MohanaPriyaNarapareddy are you running that exact curl command with "localhost:8080" in it? The error you see is expected if you put the name of your server in the curl command instead. You have to ssh into your server first and then run the localhost version. |
@MohanaPriyaNarapareddy in a comment from @pdurbin above, he included links to the Installation Guide which cover this feature. Specifically the Custom Navbar Logo section will outline the steps to replace that navbar logo with your own custom logo image. http://guides.dataverse.org/en/4.14/installation/config.html#custom-navbar-logo Good luck! |
Hi @MohanaPriyaNarapareddy - I'm going to close this out. Please let us know when your dataverse installation is ready to be put on the map at dataverse.org! Thank you! |
@MohanaPriyaNarapareddy sorry, but there is no way to configure Dataverse and remove the navbar from the UI. |
@MohanaPriyaNarapareddy if you remove the header navigation bar, your users won't be able to click "Log In". |
@pdurbin Hi, I have a question about that, its possible to customize each dataverse with different css styles? |
@hblancoca at the installation level you can have a custom CSS styles: http://guides.dataverse.org/en/4.18.1/installation/config.html#custom-stylesheet I think you asking about dataverses within a Dataverse installation, however. No custom CSS files are not supported. Please see also this issue:
|
Hello. I want to have my custom home page and logo by adding a few changes to the current HTML pages. Can u direct me to the location of current HTML and CSS of dataverse?
The text was updated successfully, but these errors were encountered: