Forum Support

Shape 5
September 28, 2021, 01:23:50 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to remove Articles' publishing, metadata and language options  (Read 438 times)
PAdvantage
Jr. Member
**
Offline Offline

Posts: 18



« on: November 28, 2013, 03:48:45 AM »

Hi! I want a registered user to see only the Editor tab when adding/modifying an article, removing the other tabs (publishing, metadata, language etc). I read that I could do that by adding this to my template.css

form#adminForm fieldset:nth-of-type(1n+2) {
     display:none}

The problem is that it has no effect. Replacing 1n+2 with anything else makes the whole editor dissapear, leaving me with only two buttons (save and quit). Can you please tell me what and where to add? Thank you!
Logged
PAdvantage
Jr. Member
**
Offline Offline

Posts: 18



« Reply #1 on: November 29, 2013, 01:21:10 AM »

And I have another question but I don't want to start a new topic. It seems that the header image (top_bg.jpg) always keeps the same size no matter what - it stretches across the monitors' width. And that is perfect, but I've noticed that this works only for devices with more that 1200px in width. I want to know can I keep the header adjusting itself to lower resolutions (for a CRT monitor with 1024x768 or a tablet with 800x600) because at the moment it just crops the image.
Thank you in advance!
« Last Edit: November 29, 2013, 02:26:14 AM by PAdvantage » Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #2 on: November 29, 2013, 06:17:19 PM »

Hello,

1) I think this was only possible in the older versions of Joomla. In the newer versions all the tabs look to be sharing the same class. I would suggest creating a specific user group for important articles that you don't want touched and have your default editor group for articles that aren't as important. There also might be some 3rd party extension on extensions.joomla.org that provides this functionality.

2) If you remove the following from the s5_responsive.css it should provide this behaviour

@media screen and (max-width: 1200px) {
  #s5_body_padding { background-size: auto auto ! important; }


-Mike
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
PAdvantage
Jr. Member
**
Offline Offline

Posts: 18



« Reply #3 on: December 02, 2013, 02:28:50 AM »

Thank you for your answer, it did work!
I had to remove
        #s5_body_padding {background-size:auto !important;}
from @media screen and (max-width: 1200px) and @media screen and (max-width: 1050px).
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #4 on: December 02, 2013, 02:42:58 AM »

NP Smiley

-Mike
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.