Skip to content
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

Headers #3

Open
Robert1402 opened this issue Apr 29, 2014 · 32 comments
Open

Headers #3

Robert1402 opened this issue Apr 29, 2014 · 32 comments

Comments

@Robert1402
Copy link

The headers are all in h1 size.
How can I change it?

@bkrztuk
Copy link
Contributor

bkrztuk commented Apr 29, 2014

Every single header element you can change in proper view overrided by template. Could you tell me which headers you want to change?

@Robert1402
Copy link
Author

see attachement, but I would like to change the size of headers in all artikel.
magazin

@bkrztuk
Copy link
Contributor

bkrztuk commented May 1, 2014

As I see it is default article view so you can modify this header size in root/templates/gk_magazine/html/com_content/article/default.php file.

@Robert1402
Copy link
Author

I changed there h1 to h3 but the headers has the same size?
What did I wrong?

@bkrztuk
Copy link
Contributor

bkrztuk commented May 3, 2014

Could you give me your site URL ? It is always easier to check CSS/HTML code on live site.

@Robert1402
Copy link
Author

http://www.test.diamantbericht.de/

Thanks.

@Robert1402
Copy link
Author

@bkrztuk
Copy link
Contributor

bkrztuk commented May 5, 2014

This is not single K2 item view but display items by tag. You want to just replace h1 with H3 or decrease size of H1 ? In my opinion you just should make some CSS correction for H1 tag instead of replacing H1 to H3 in every template single file. Please add this code to override.css file in root/templates/gk_template_name/css directory :

article header h1 { font-size: 30px !important}

and then just remember to enable "Use override CSS" option in template advanced settings tab.

@Robert1402
Copy link
Author

Super, thanks. It works.
Only 1 problem more: Nor I have space between header and text.
And between the rows in the text.
image

@Robert1402
Copy link
Author

Sorry to distuerb you again, but if I click on the new small header, on the next page I get again big header.
image

@bkrztuk
Copy link
Contributor

bkrztuk commented May 6, 2014

You get bigger header because you've modified H1 tag to H3 and now you need to apply the same rule for H3 element by adding code :

article header h3 { font-size: 15px !important}

@Robert1402
Copy link
Author

Many thanks.
What about big space between header and text?

@Robert1402
Copy link
Author

Many thanks.
What about big space between header and text?
Can you help me?

@bkrztuk
Copy link
Contributor

bkrztuk commented May 7, 2014

If you want to customize template some base knowledge of Firebug and other tool will be necessary, please read more here » → How to change space, colors and font size ? – GavickPro Documentation

To decrease space please use this code :

article header { margin: 0}

@Robert1402
Copy link
Author

Last question:
How can I change the size of logo?
image

@bkrztuk
Copy link
Contributor

bkrztuk commented May 11, 2014

Please add this code to override.css file in root/templates/gk_template_name/css directory :

#gkLogo.cssLogo { width: *value*; height: *value* }

and then just remember to enable "Use override CSS" option in template advanced settings tab.

@Robert1402
Copy link
Author

I add
#gkLogo.cssLogo { width: 400; height: 100}

but nothing change.

@bkrztuk
Copy link
Contributor

bkrztuk commented May 20, 2014

You forget about the unit, the best way is to use pixels like 400px or 100px

@Robert1402
Copy link
Author

Perfect! It works!
But I have another problem: I imported my mysql-files to the new website magazin, which I made with GK Quckstart. But they have another names started j25_ and yours with cnjrf_
Shoul I rename all in cnjrf_ ?
Maybe you have a better idea?

@aml987
Copy link

aml987 commented May 22, 2014

@Robert1402 try to edit configuration.php file, you can find it in the main root:
on line 19 : public $dbprefix = 'nal4t_';

@Robert1402
Copy link
Author

Thanks, aml987 what shuld I do with configuration.php file?

@aml987
Copy link

aml987 commented May 22, 2014

Open it then try to replace $dbprefix = 'j25_'; by $dbprefix = 'cnjrf_';

@Robert1402
Copy link
Author

In my configuration.php is already $dbprefix = 'cnjrf_' and if I change it to 'j25_' get error!

@aml987
Copy link

aml987 commented May 22, 2014

what is the perfix of your database? you can get it from phpMyadmin ...

@Robert1402
Copy link
Author

I have 2 prefix: 'cnjrf_' and 'j25_' in database.

@bkrztuk
Copy link
Contributor

bkrztuk commented May 25, 2014

It meana that you have two installations in this one database

@bkrztuk bkrztuk closed this as completed May 25, 2014
@bkrztuk bkrztuk reopened this May 25, 2014
@Robert1402
Copy link
Author

No, which I made with GK Quckstart the website. All files in mysql statrts with cnjrf_.
Than I imported all fils from my old mysql in the same database, because I need the articel, user, categorys etc. But those files-names started j25_ and yours with cnjrf_
Shoul I rename all in cnjrf_ ?

@Robert1402
Copy link
Author

image
How can I get the voting-stars in this module?

@bkrztuk
Copy link
Contributor

bkrztuk commented May 29, 2014

You firstly need to update module to latest version and use %STARS as a parameter in INFO area like on image here » http://cl.ly/image/1b0c1I1d2m3y

@Robert1402
Copy link
Author

I get:

Von: Bartłomiej Krztuk [mailto:[email protected]]
Gesendet: Donnerstag, 29. Mai 2014 11:06
An: GavickPro/Magazine-Free-Joomla-Template
Cc: Robert1402
Betreff: Re: [Magazine-Free-Joomla-Template] Headers (#3)

You firstly need to update module to latest version and use %STARS as a parameter in INFO area like on image here » http://cl.ly/image/1b0c1I1d2m3y


Reply to this email directly or view it on GitHub #3 (comment) . https://github.com/notifications/beacon/6908425__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNjk3MzU0NCwiZGF0YSI6eyJpZCI6MzEwMDA4MzZ9fQ==--95dc2c1d2c6597eeff94f5657ee39aca79103a08.gif

@Robert1402
Copy link
Author

Update: you mean News pro 4 to news pro 5?
How can I update the moduls?
But if I install them new, I have to make all the changes again!

@bkrztuk
Copy link
Contributor

bkrztuk commented Jun 2, 2014

%STARS option is available only in News Show Pro GK5, to update module you just need to download latest package from gavick.com website and install via extension manager like every single Joomla! extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants